Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
AAnthony Le
Last edited Aug 18, 2024
Created on Aug 18, 2024
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis. The code imports `csv`, `max`, and `format` from D3 to load and process the data, while SVG rectangles render the bars with tooltips showing formatted population values. Axes are constructed using custom React components that map D3 scales to SVG 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