Fork of Fork of Stylized Bar Chart
✓ Published1🌍 Public
This example displays the top 10 most populous countries as horizontal bars, ordered by population with a formatted axis showing values in billions. The chart uses React components to render SVG elements, with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv` and sorted before rendering. Stylized with the Poppins font and teal bar fills, the visualization includes tick marks, axis labels, and tooltips via SVG `<title>` elements.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed