Skip to main content
Public

Share visualization

Loading preview…

Fork of Scatter Plot with Color Legend_ex1

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

Fork of Scatter Plot with Color Legend_ex1

0
SSandyWu7179290504
Last edited Sep 30, 2022
Created on Sep 30, 2022

This scatter plot visualizes the Iris dataset, showing petal length against sepal width, with each point colored by species and a corresponding color legend. The visualization is built using React and D3 v5, leveraging d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading. Points are rendered as SVG circles, with axes and legend drawn via custom React components. Hovering reveals a tooltip showing the petal length value.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

Comments

Sign in to join the discussion.

MIT Licensed