-
This visualization of medical research papers is pretty cool. Looks like it was created with a project called Deepscatter. I may try to do it myself if I get the time, but it would be interesting to see if it could be recreated with VegaFusion. Could VegaFusion handle 21 million datapoints?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sterlinm, Deepscatter looks like a really neat project. Handling unaggregated scatter plots with millions of points pretty much requires some form of GPU acceleration. Presently, VegaFusion is only involved in the data transformations stage, not the rendering stage. Rendering is still done by the Vega JavaScript library, which doesn't have GPU acceleration yet. There are a couple of early projects/prototypes to add GPU rendering to Vega (vega-renderer-webgl, vega-webgpu), but these aren't ready for prime time. One approach that is sometimes useful is to aggregate x/y data into a heatmap where the bins are approximately the size of one pixel. This is what the VegaFusion 10 Million Taxi Rides example does for the middle pickup locations chart. Vega-Lite selections are used to re-aggregate the data on pan and zoom. The downside is that this approach doesn't extend well to include a color encoding, and it doesn't support tooltips. Working out how to make Deepscatter style charts in Vega is definitely on my wish list, but we're not there yet |
Beta Was this translation helpful? Give feedback.
Hi @sterlinm,
Deepscatter looks like a really neat project. Handling unaggregated scatter plots with millions of points pretty much requires some form of GPU acceleration. Presently, VegaFusion is only involved in the data transformations stage, not the rendering stage. Rendering is still done by the Vega JavaScript library, which doesn't have GPU acceleration yet. There are a couple of early projects/prototypes to add GPU rendering to Vega (vega-renderer-webgl, vega-webgpu), but these aren't ready for prime time.
One approach that is sometimes useful is to aggregate x/y data into a heatmap where the bins are approximately the size of one pixel. This is what the VegaFusion 10 Million Taxi…