Build a Fully Interactive Dashboard in a Few Lines of Python

Allan Enemark
RAPIDS AI
Published in
2 min readJun 30, 2021

New Features Added to RAPIDS cuXfilter GPU-Accelerated Cross Filtering Library

Work continues on improving the UX and capabilities of our GPU cross-filter dashboard library, cuxfilter. Here’s a quick recap of its latest features.

First, it is as easy as ever to access cuxfilter. Just run a standard RAPIDS install as shown on the getting started page. Additionally, you can try it online at PaperSpace. One of the powerful benefits of a full RAPIDS installation means you can work on your data and visualize it within a single Jupyter notebook or lab instance.

Here is a list of some of the major feature highlights:

  • High density scatter, line, heatmap, and graph charts via Datashader, as well as choropleth maps from Deck.gl, and bar and line charts from bokeh.
  • A fully responsive, customizable layout with a widget side panel.
  • Themes, such as the dark one shown above.
  • A preview feature using `await d.preview()` generates a .png image of the full dashboard inline with your notebook.
  • Ability to export the selected data in an active dashboard by using the `d.export()` call.
  • Ability to deploy as a stand-alone application (outside of a notebook), as explained in our documentation for deploying multi-user dashboards.

You can try all these and more features in our tutorial notebook, and follow along in our tutorial video. The screenshot below is one of the dashboards created and is a compelling example of how to combine RAPIDS libraries together to quickly create powerful cross-filterable dashboards in just a few lines of python.

Screenshot of double graph dashboard from gist below

Going forward, we will continue to improve cuxfilter and use it to collaborate with the larger python viz community, such as the bokeh, holoviews, panel, and Datashader projects. We encourage you to try it out, and as always, if you have any issues or feature requests, let us know on our GitHub. Happy cross-filtering!

Resources:

--

--

Allan Enemark
RAPIDS AI

Curiosity powered designer & sustainability advocate.