Stylized Bar Chart
✓ Published0🌍 Public
This stylized bar chart displays the top 10 most populous countries, based on United Nations World Population Prospects 2019 data, with horizontal bars sorted by country name. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis, `scaleLinear` for the population x-axis, and a custom `Marks` component to render SVG rectangles. The chart includes formatted tick labels (e.g., "1.40B") and a native SVG tooltip showing each bar’s exact value, all styled with the Poppins font.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed