Stylized Bar Chart
✓ Published0🌍 Public
A stylized bar chart displays the top 10 most populous countries in 2020, using horizontal bars with population values on a linear scale. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. Custom `AxisBottom` and `AxisLeft` components render tick marks and labels, while `Marks` generates rectangles with tooltips. Data comes from the United Nations World Population Prospects 2019, loaded via d3.csv and formatted with `d3.format` to abbreviate values (e.g., "1.4B").
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed