Skip to main content
100%

Fork of 3D Scatter Plot with Iris Dataset

✓ Published0🌍 Public
JJyothicherukuri
Last edited Mar 27, 2022
Created on Mar 27, 2022

This interactive 3D scatter plot visualizes the Iris dataset, displaying sepal length, sepal width, and petal length as coordinates in three-dimensional space. Each flower specimen appears as a marker, with a second trace plotting the same sepal dimensions against petal width in a 2D scatter overlay, both using semi-transparent styling to reveal overlapping points. The visualization is built with Plotly’s JavaScript library, specifically using `Plotly.newPlot` to render the chart into a dedicated div, while data is loaded asynchronously via `d3.csv` from a remote GitHub-hosted CSV file. The code defines two traces—one `scatter3d` and one `scatter2d`—with custom marker sizes, colors, and opacity, and removes all layout 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