🌍 Public
Viewing a saved revision (read-only)
3cd62e0d35ca40cbae577ab48b0a5169
Fork of Stylized Bar Chart
This example displays the top 10 most populous countries as horizontal bars, using the United Nations World Population Prospects 2019 dataset. It shows a styled bar chart with a Poppins font, custom teal bars, and formatted axis labels that convert scientific notation to billions. Built with React and D3 v5, the code uses `scaleBand` and `scaleLinear` for positioning, while SVG rectangles render the marks with tooltips. The axes are created via `AxisBottom` and `AxisLeft` components, and the data is loaded asynchronously using D3’s `csv` function.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.