🌍 Public
3D scatter plot of Iris Data
This interactive 3D scatter plot visualizes the Iris dataset, displaying sepal and petal measurements as distinct sets of markers. The code loads the data from a remote CSV file using `d3.csv` and constructs two `scatter3d` traces, one for each flower part, with configurable marker size, opacity, and line styling. It relies on Plotly’s JavaScript API (`Plotly.newPlot`) to render the chart into an HTML `<div>`, with D3.js handling the data fetching and row unpacking. The layout removes all margins for a clean presentation.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.