Skip to main content
Public

Share visualization

Loading preview…

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

Scatter Plot with color legend

0
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021

This scatter plot displays the Iris dataset, mapping petal length on the x-axis and sepal width on the y-axis, with species indicated by color and a legend. It uses React for component-based rendering and D3 scales (d3.scaleLinear, d3.scaleOrdinal) to position circles and assign colors. The data is loaded asynchronously via d3.csv, and the visualization is rendered as SVG with custom axis and legend components.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

Comments

Sign in to join the discussion.

MIT Licensed