Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published1🌍 Public
Aarjun-lab663
Last edited Jul 12, 2021
Created on Jul 12, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries from the United Nations World Population Prospects 2019 dataset. Using React and D3’s `scaleBand`, `scaleLinear`, and `format` APIs, the chart renders SVG rectangles via the `Marks` component, with axes generated by `AxisBottom` and `AxisLeft`. The code loads CSV data with `d3.csv`, formats population values in billions, and includes a hover tooltip via SVG `<title>` elements.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes