Skip to main content
100%

Scatter plot with colors

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

This example visualizes the Iris dataset, plotting petal length against sepal width for individual flowers. Each point is colored by species using a categorical color scale. The visualization is built with React and D3 v5, using `scaleLinear` to map data to coordinates and `scaleOrdinal` for species colors. Axes are rendered as SVG elements, with numeric formatting applied to tick labels via D3’s `format` function.

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