Skip to main content
100%

3D scatter plot of Iris Data

✓ Published0🌍 Public
AAAL FORHAD
Last edited Mar 10, 2022
Created on Mar 10, 2022
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes