Skip to main content
Public

Share visualization

Loading preview…

Fork of 3D Scatter Plot with Iris Dataset

vizhub.com

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

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 & exportHTML, source ZIP

Fork of 3D Scatter Plot with Iris Dataset

1 star6Public
Bbhargavarathod
Last edited Mar 12, 2022
Created on Mar 12, 2022

This example shows a 3D scatter plot of the Iris dataset, with two traces comparing sepal and petal measurements. The first trace uses sepal length, sepal width, and petal length as axes, while the second uses petal width in place of petal length, rendering both with circular markers and adjustable opacity. It loads CSV data via D3’s `d3.csv` and creates the interactive 3D visualization using Plotly’s `Plotly.newPlot` with a `scatter3d` trace type. The layout removes all margins, and the code relies on Plotly 2.9.0 and D3 3.5.17 from CDNs.

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