Skip to main content
Public

Share visualization

Loading preview…

Fork of Scatter Plot with Color Legend

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

0
Cchar0496
Last edited Apr 17, 2022
Created on Apr 17, 2022

This scatter plot visualizes the Iris Dataset, showing petal length against sepal width with points colored by species. A color legend on the right maps each species to a distinct color, while axis labels and tick marks provide context. Built with React and D3 v5, it uses `scaleLinear` for positioning, `scaleOrdinal` for colors, and custom SVG components for axes, marks, and legend. Data is loaded via `d3.csv` and rendered as SVG circles with hover tooltips.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

Comments

Sign in to join the discussion.

MIT Licensed