Fork of Pathetic Bar Chart
✓ Published1🌍 Public
This example displays the top 10 most populous countries as a bar chart that uses country names as the y-axis labels and numeric population values for the x-axis, but omits axis lines and titles. It loads United Nations World Population Prospects 2019 data using `d3.csv`, then applies React state and hooks to render SVG bars. The visualization uses `d3.scaleBand`, `d3.scaleLinear`, and `d3.max` to map the data, while `d3.ticks` generates gridlines.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed