Skip to main content
100%

Fork of Axes with React & D3

✓ Published0🌍 Public
RReymond Mesuga
Last edited Mar 17, 2021
Created on Mar 17, 2021

This chart displays the top 10 most populous countries using a horizontal bar chart with labeled axes. It builds the visualization with React components and D3 scales, including `scaleBand` for the categorical y-axis and `scaleLinear` for the population values on the x-axis. Tick marks and labels are manually generated from `xScale.ticks()` and the domain of the y-scale, while bars are rendered as SVG `rect` elements. Data comes from the United Nations World Population Prospects 2019 dataset, loaded via `d3.csv`.

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