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
JJulian Huarachi
Last edited May 10, 2021
Created on May 10, 2021

This fork of a scatter plot with color legend visualizes the Iris Dataset, plotting petal length against sepal width. Each of the 150 data points appears as a colored circle, with the three iris species distinguished by an ordinal color scale. The chart uses React components for rendering SVG marks and axes, while D3’s `scaleLinear` and `scaleOrdinal` handle coordinate and color mappings. A color legend generated from the scale’s domain identifies each species.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

Comments

Sign in to join the discussion.

MIT Licensed