Skip to main content
Public

Share visualization

Loading preview…

3D Scatter Plot with Iris Dataset

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

3D Scatter Plot with Iris Dataset

20
KKishen Patel
Last edited Mar 11, 2022
Created on Mar 11, 2022
Forked from HTML Starter

This 3D scatter plot visualizes the Iris dataset, plotting sepal length, sepal width, and petal length for one trace, and sepal length, sepal width, and petal width for another, with markers colored and styled distinctly. The visualization uses Plotly’s `scatter3d` type via `Plotly.newPlot` to render the interactive chart inside a DIV. Data is loaded asynchronously with D3’s `d3.csv`, fetching the Iris dataset from a GitHub gist, and then unpacking the relevant columns for each trace.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed