Fork 999 of Stylized Bar Chart
✓ Published1🌍 Public
This example displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population values on the x-axis. The chart uses a teal color for the bars, gray for the axes and labels, and the Poppins font, with a hover tooltip showing the exact population format. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` to map data from the UN World Population Prospects 2019, loaded via `csv`. The SVG rendering separates axes and marks into modular components for clarity.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed