Skip to main content
100%

Fork of Axes with React & D3

✓ Published0🌍 Public
Ddsibi
Last edited Dec 25, 2020
Created on Dec 25, 2020

This example displays a horizontal bar chart of the top 10 most populous countries, with population values from the United Nations World Population Prospects 2019. The visualization shows a basic bar chart with axes rendered using React and D3 v5. The code uses `d3.csv` for loading data, `d3.scaleBand` and `d3.scaleLinear` for positioning, and manually renders axis ticks and labels as SVG elements. React manages the chart's state and rendering, while D3 handles data loading and scaling.

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