Fork of Stylized Bar Chart
✓ Published0🌍 Public
This bar chart displays the top 10 most populous countries, using data from the United Nations World Population Prospects 2019, with horizontal bars ordered by country name. Built with React and D3 v5, the visualization employs `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, rendered as SVG rectangles with tooltips. The `csv` function loads and parses the dataset, while `format('.2s')` converts population values into abbreviated tick labels (e.g., "1.4B"). A custom font (Poppins) and a muted teal color scheme give the chart a stylized, modern appearance.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed