Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot with Color_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

Scatter Plot with Color_ex1

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

This example visualizes the Iris dataset as a scatter plot, mapping petal length to the x-axis and sepal width to the y-axis. Points are colored by species using a categorical color scale. The visualization is built with React and D3 v5, using `scaleLinear` for axes and `scaleOrdinal` for color mapping. SVG circles are rendered via a `Marks` component, with hover tooltips generated using native `<title>` elements. Data is loaded asynchronously from a CSV file using D3’s `csv` function.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed