Stylized bar chart xizhi
✓ Published0🌍 Public
This example displays the top 10 most populous countries as a horizontal bar chart using React and D3 v5. The bars are rendered as SVG rectangles, with population values mapped through `scaleLinear` and country names positioned using `scaleBand`. The chart includes axes generated by `d3.axisBottom` and custom tick components, styled with the Dongle font. Data comes from the United Nations World Population Prospects 2019 CSV, loaded via `d3.csv` and sliced to the first ten entries.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed