🌍 Public
Untitled
This 3D scatter plot visualizes the classic Iris dataset, showing sepal length, sepal width, and petal length as coordinate axes with points colored by species. The rendering uses Plotly.js’s `scatter3d` trace type via the `Plotly.newPlot` API, while data loading relies on D3’s `d3.csv` method. The code assigns per-species numeric color values (0, 0.5, 1) and maps them through a custom `pl_colorscale` with discrete bands in cyan, magenta, and purple. Three.js is referenced in the README, though the actual plot is drawn entirely through Plotly’s WebGL-backed scene.
AI-generated descriptionA 3D scatter plot using Three.js and D3.
MIT Licensed
Comments
Sign in to join the discussion.