Fork of Axes with React & D3
✓ Published0🌍 Public
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 descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed