Stylized Bar Chart
✓ Published1🌍 Public
This example shows the top 10 most populous countries using horizontal bars, with population values displayed along a bottom axis and country names on the left. The chart uses React components to render SVG elements, with D3 v5 scales (`scaleBand`, `scaleLinear`) mapping data to positions. Population data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The bars are styled with a teal fill, and hovering reveals exact population values through SVG `<title>` tooltips.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed