Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example visualizes the ten most populous countries as a horizontal bar chart using React and D3 v5. Population values from the UN World Population Prospects 2019 dataset are mapped to bar lengths via `scaleLinear`, while country names position bars with `scaleBand`. The SVG rendering uses reusable AxisBottom, AxisLeft, and Marks components. Stylized with the Poppins font, gridlines and labels are styled through CSS classes, and hover tooltips display formatted population values using D3's `format`.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed