Skip to main content
100%

dv.22.2 - axes & labels w/ react & d3

✓ Published1🌍 Public
Zzach b.
Last edited Mar 18, 2021
Created on Nov 2, 2020

This bar chart displays the 20 most populous countries, with populations from the United Nations World Population Prospects 2019 dataset. D3.js scales map country names to the y-axis and population values to the x-axis. React renders the SVG, with map methods generating axis ticks and labels. The chart uses `scaleBand` and `scaleLinear` from D3, and React's `useState` and `useEffect` for data loading and state management.

AI-generated description

A program that shows the top 20 most populous countries with axes and labels.

Data: United Nations World Population Prospects 2019.

--
Datavis 2020 #22 part 2

MIT Licensed

Similar vizzes