Fork of 3D Scatter Plot with Iris Dataset
✓ Published6🌍 Public
This example shows a 3D scatter plot of the Iris dataset, with two traces comparing sepal and petal measurements. The first trace uses sepal length, sepal width, and petal length as axes, while the second uses petal width in place of petal length, rendering both with circular markers and adjustable opacity. It loads CSV data via D3’s `d3.csv` and creates the interactive 3D visualization using Plotly’s `Plotly.newPlot` with a `scatter3d` trace type. The layout removes all margins, and the code relies on Plotly 2.9.0 and D3 3.5.17 from CDNs.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed