Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
KKenneth Silvere
Last edited Jun 20, 2021
Created on Jun 20, 2021
Forked from Stylized bar chart

This example displays a horizontal bar chart of population figures for ten countries from the 2019 UN Population dataset, loaded as CSV via D3’s `csv` utility. The visualization uses `scaleBand` for the categorical country axis and `scaleLinear` for the population axis, rendering SVG bars through React components. A native SVG `<title>` tooltip shows formatted population values upon hover, while the axis labels and ticks are styled with D3 `format` to abbreviate large numbers.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes