Skip to main content
Public

Share visualization

Loading preview…

Iris 3D Scatter Plot

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

Iris 3D Scatter Plot

0
PPlatoch
Last edited Mar 11, 2022
Created on Mar 10, 2022

This example visualizes the Iris dataset as an interactive 3D scatter plot using Plotly's `scatter3d` trace. It plots sepal length, sepal width, and petal length on the three axes, with each flower represented by a single marker point. The visualization loads data from a local CSV file using D3’s `csv` function and renders the plot inside a dedicated `div` element. The code defines a single trace with fixed marker styling, including size, color, and opacity, and applies minimal plot margins through the layout object.

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