Skip to main content
100%

Scatter plot with color legend

✓ Published1🌍 Public
SShanmukh
Last edited May 2, 2024
Created on May 2, 2024

A scatter plot displays Iris flower measurements, plotting petal length against sepal width, with each point colored by species. The visualization uses React to render SVG elements, with axes and marks built from custom components. D3 v5 provides scale functions—scaleLinear for x and y axes, scaleOrdinal for the categorical color mapping—and loads data via d3.csv from the Iris dataset. A color legend identifies the three species, and circles are the primary mark type, with basic axis labels for context.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes