🌍 Public
Viewing a saved revision (read-only)
2b434bd4c857490e870d80b7b946f44b
Stylized bar chart
This example displays a horizontal bar chart ranking the ten most populous countries in 2020, with bars extending rightward from labeled country names. The visualization uses React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling layout and the `format` function abbreviating population values on the x-axis. Data is loaded via D3’s `csv` utility from a UN population dataset, and each bar includes a native SVG `<title>` element for tooltips.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst.