arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.03907astro-ph.IM
收藏

交互式数据可视化的新型JupyterLab用户体验

A Novel JupyterLab User Experience for Interactive Data Visualization

Peter K. G. Williams, Jonathan Carifio, Henrik Norman, A. David Weigel

摘要:

在Webyter生态系统中,数据可视化通常是通过创建为笔记本单元输出的“小部件”来完成的。虽然这种机制在某些情况下工作得很好,但它并不适合呈现长期存在的、交互式的和视觉丰富的界面。与传统的笔记本电脑系统不同,新的笔记本电脑实验室应用程序提供了一个复杂的扩展基础设施,提出了新的设计可能性。在这里,我们提出了一种新颖的用户体验(UX)的交互式数据可视化在XuanyterLab,是基于一个“应用程序”,运行在用户的笔记本电脑,而不是小部件,绑定在他们。我们已经为AAS WorldWide Telescope(WWT)可视化工具实现了此UX。XueyterLab的消息API允许应用程序与多个计算内核顺利交换数据,允许用户完成使用小部件框架无法完成的任务。一个新的MySQL服务器扩展允许前端通过HTTP异步地从内核请求数据,从而在WWT中实现对千兆像素级图像的交互式探索。虽然我们已经为WWT开发了这个用户体验,但整体设计和服务器扩展可以移植到其他应用程序中,并且有可能解锁各种新的用户活动,这些活动目前在“科学平台”界面中是不可能的。

英文摘要:

In the Jupyter ecosystem, data visualization is usually done with "widgets" created as notebook cell outputs. While this mechanism works well in some circumstances, it is not well-suited to presenting interfaces that are long-lived, interactive, and visually rich. Unlike the traditional Jupyter notebook system, the newer JupyterLab application provides a sophisticated extension infrastructure that raises new design possibilities. Here we present a novel user experience (UX) for interactive data visualization in JupyterLab that is based on an "app" that runs alongside the user's notebooks, rather than widgets that are bound inside them. We have implemented this UX for the AAS WorldWide Telescope (WWT) visualization tool. JupyterLab's messaging APIs allow the app to smoothly exchange data with multiple computational kernels, allowing users to accomplish tasks that are not possible using the widget framework. A new Jupyter server extension allows the frontend to request data from kernels asynchronously over HTTP, enabling interactive exploration of gigapixel-scale imagery in WWT. While we have developed this UX for WWT, the overall design and the server extension are portable to other applications and have the potential to unlock a variety of new user activities that aren't currently possible in "science platform" interfaces.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑