Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot with Color

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

0
BBhanu Siva Kumar Kommana
Last edited Mar 6, 2023
Created on Mar 6, 2023

A scatter plot of the Iris Dataset displays sepal length against petal length, with points colored by species. A color legend identifies setosa, versicolor, and virginica. Built with D3 v7, the visualization uses `scaleLinear` for axes, `scaleOrdinal` with `schemeCategory10` for colors, and modular functions for axes and legend rendering. Data is loaded from a CSV file and parsed with `csvParse`.

AI-generated description

A scatter plot of the Iris Dataset with a color legend.

See also:

Comments

Sign in to join the discussion.

MIT Licensed