Skip to main content
100%

Fork of Axes with React & D3

✓ Published0🌍 Public
KKonJoDot
Last edited Oct 23, 2022
Created on Oct 23, 2022

This example displays a bar chart of the top 10 most populous countries using React and D3 v5. It shows horizontal bars representing population data from the United Nations World Population Prospects 2019, with manually drawn axes and tick labels. The code uses React hooks like `useState` and `useEffect` to fetch CSV data, and D3's `csv`, `scaleBand`, `scaleLinear`, and `max` to scale and render the visualization as SVG elements.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes