Fork of Stylized Bar Chart
✓ Published0🌍 Public
A stylized bar chart displays the top 10 most populous countries from the 2019 United Nations World Population Prospects dataset, using horizontal bars colored teal against a light gray grid. The visualization is built with React and D3 v5, leveraging `scaleBand` for the y-axis categories and `scaleLinear` for the population values, rendered as SVG rectangles. The chart includes axis labels, tick marks, and tooltips that format population numbers using `format('.2s')` to abbreviate values like "1.2B". The data is fetched via `csv` from a remote gist, with the top 10 rows extracted for display.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed