Skip to main content
100%

2D/3D Scatterplot

✓ Published0🌍 Public
AAndresAnayaIsaza
Last edited Feb 4, 2017
Created on Feb 4, 2017

This example displays 200 data points in a 2D scatterplot with a third dimension encoded along a skewed z-axis. Scrolling the mouse wheel moves a focal plane through the z-range, making points near the current z-position more opaque and larger, while distant points fade. The visualization uses D3 v3 with SVG circles, and includes x, y, and z axes with tick labels. Synthetic data is generated using `d3.random.normal` and functions of sine and cosine to create a three-dimensional correlation pattern.

AI-generated description

Scrolling moves the z-axis. Points at the current z-position will be more visible than those far away from this z-position.

I was curious whether this kind of thing would be useful for exploring the correlation of three continuous variables at once. I don't think it works all that well. Then again I haven't tried it out on real data yet so who knows.

forked from <a href='http://bl.ocks.org/armollica/'>armollica</a>'s block: <a href='http://bl.ocks.org/armollica/a6b26f0f0abad5505e08'>2D/3D Scatterplot</a>

Similar vizzes