Skip to main content
100%

Fork of 3D Scatter Plot with Iris Dataset

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

This example shows a 3D scatter plot of the Iris dataset, visualizing sepal and petal measurements from the data loaded via a CSV file. It renders two traces: one as a flat scatter2d layer and another as a scatter3d layer, both using markers with varying colors and opacity. The code uses the Plotly.js library to create the chart inside a div with the ID `myDiv`, while D3.js handles CSV parsing and data unpacking. The layout margins are set to zero to maximize the plot area.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes