Skip to main content
100%

3D Scatter Plot

✓ Published0🌍 Public
Wwaqastufail
Last edited Mar 26, 2020
Created on Mar 26, 2020
Forked from 3D Scatter Plot

This example visualizes a 3D scatter plot of iris flower data, mapping female, male, and no-known-disability measurements to the x, y, and z axes while coloring points by species. Points render as circular sprites generated on a Canvas texture and composited with Three.js’s WebGLRenderer. D3’s `scaleLinear` maps data ranges to a unit cube, while `scaleOrdinal` assigns categorical colors from `schemeCategory10`. D3’s `zoom` behavior handles pan-based rotation, and `requestAnimationFrame` adds slow continuous rotation. Data loads via `d3.csv` from a remote GitHub gist.

AI-generated description

A 3D scatter plot using Three.js and D3.

MIT Licensed

Similar vizzes