Skip to main content
100%

Untitled

✓ Published7🌍 Public
RRavi Teja Bonam
Last edited Mar 12, 2022
Created on Mar 11, 2022
Forked from 3D Scatter Plot

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 description

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

MIT Licensed

Similar vizzes