🌍 Public
Viewing a saved revision (read-only)
a6829173b9c44774b2f02af4c6662f09
Fork of Stylized Bar Chart
This example displays the top 10 most populous countries as horizontal bars, with population values formatted in billions. The chart uses React components to render SVG elements, with D3’s `scaleBand` and `scaleLinear` mapping country names and population counts to screen coordinates. Axes and marks are generated through custom React components, and the data comes from the United Nations World Population Prospects 2019, loaded via D3’s `csv` function. Styling applies the Poppins font with teal bars and gray tick lines.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.