Fork of Stylized Bar Chart
✓ Published0🌍 Public
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.
MIT Licensed