Skip to main content
Public

Share visualization

Loading preview…

Marking a Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

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 & exportHTML, source ZIP

Marking a Scatter Plot

0 stars0Public
KKazSoftwareEngineer
Last edited Jun 19, 2022
Created on Jun 19, 2022

This scatter plot displays the sepal length versus sepal width measurements from the Iris Dataset, with each flower represented as a colored circle. The visualization uses React with D3 v7's scaleLinear and extent functions to map data values to SVG coordinates. The axes are rendered using custom AxisBottom and AxisLeft components that generate tick marks and labels, while the Marks component creates circles with tooltip formatting. The chart demonstrates how to build interactive scatter plots using declarative React components combined with D3's scaling utilities.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed