Skip to main content
100%

Axes w/ React

✓ Published1🌍 Public
AAnthony Ynami
Last edited Feb 19, 2021
Created on Feb 19, 2021
Forked from Bar Chart w/ React

This bar chart displays the populations of the top 10 most populous countries, using data from the United Nations World Population Prospects 2020. Built with React and D3 v6, it renders as an SVG, using `scaleLinear` and `scaleBand` for axes, with custom tick generation via `xScale.ticks()` and manual axis labels. The interactive loading state shows a processing message while fetching the CSV data.

AI-generated description

This bar chart shows the population of the top 10 most populous countries . The data comes from the year 2020 estimate in United Nations: World Population Prospects 2020.

MIT Licensed

Similar vizzes