Skip to main content
100%

Elegans 3D ScatterPlot

✓ Published0🌍 Public
PPatMartin
Last edited Aug 7, 2017
Created on Feb 11, 2017

This interactive 3D scatterplot visualizes four series of randomly generated data points across X, Y, and Z coordinates, each series distinguished by a unique shape and color and toggled via the legend. The WebGL rendering relies on Three.js, while the chart configuration uses the dex.js library, specifically the `dex.charts.elegans.ScatterPlot` component with custom series definitions for shape and coordinate mapping. The plot supports mouse-wheel zoom, pan, and rotation with dampened inertia, but lacks tooltips and drop lines.

AI-generated description

Elegans 3D/WegGL Scatterplot

I've been searching for a nice WebGL scatterplot implementation for awhile now. I never could seem to work the kinks out of the one I had built.

So, I borrow from Elegans which is found here on github, the product of a brilliant young lady named Naoki Nishida.

This is a quick and dirty proof of concept, but I hope to eventually extend it to look more like this amazing example.

If you're on an IOS device, then you're probably not seeing anything special. Sorry for that, I don't make the rules.

About The Chart

The chart supports zoom in/out via mouse-wheel. Pan, rotate in the typical WebGL fashion. Naoki seems to have also introduced friction or some sort of dampening effect to the often irritating tendency of WebGL scatterplots to rotate endlessly.

This example graphs 3 series of data across the 3D X, Y and Z coordinates.

Each series has full control of how it is represented and gets assigned a different color as it goes. You can also interact with the legend to toggle the display of it's data.

Notably lacking are tooltips and drop lines orthogonal to the planes. All which I hope to contribute back to her project...when I can...

References

mit Licensed

Similar vizzes