Skip to main content
Public

Share visualization

Loading preview…

Interactive Stylized Scatter Plot with colors

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

Interactive Stylized Scatter Plot with colors

0
JJulien Tremblay
Last edited Oct 25, 2024
Created on Oct 25, 2024

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width. Points are colored by species, and hovering over a color legend entry filters the displayed points to that species. The visualization uses React with D3 v5 for scales and axes, rendering SVGs with custom components like `AxisBottom`, `AxisLeft`, and `ColorLegend`. Data is loaded via D3’s `csv` function, and ordinal color scaling assigns distinct hues to each species.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed