Fork of Axes with React & D3
✓ Published1🌍 Public
A React & D3 bar chart displays the top 10 most populous countries, using a horizontal layout with population values along the x-axis and country names on the y-axis. The chart fetches data from the United Nations World Population Prospects 2019 CSV, loading it via d3.csv, and renders as an SVG. It manually constructs axes using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis, with tick marks and labels generated from the scales. The visualization highlights the deliberate omission of gridlines and axis titles, focusing solely on the data bars.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed