Fork of Axes with React & D3
✓ Published0🌍 Public
This example displays the ten most populous countries as a horizontal bar chart, with bars sized by each country’s projected 2020 population. The visualization uses React for component rendering and SVG for graphical output, while D3’s `scaleBand` and `scaleLinear` position the bars and d3’s `csv` loads the United Nations World Population Prospects 2019 data. Axes are drawn manually using D3’s tick and scale methods, mapping population values to pixel widths and country names to vertical bands.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed