Ep. 24 | Stylized Bar Chart
✓ Published1🌍 Public
This stylized bar chart displays the top 10 countries by projected 2020 population from the United Nations World Population Prospects 2019 dataset. Horizontal bars, rendered as SVG rectangles via React components, encode population values on a linear scale with a band scale for country names. D3’s `scaleLinear`, `scaleBand`, `max`, and `format` utilities handle scales and axis tick formatting, converting gigabytes to billions. The code also uses `csv` for data loading, custom `AxisBottom` and `AxisLeft` components, and a `Marks` component with `<title>` tooltips.
AI-generated descriptionA program that loads in some United Nations World Population Prospects 2019.
MIT Licensed