🌍 Public
Stylized Bar Chart
This stylized bar chart visualizes the top 10 most populous countries using horizontal bars, where bar length encodes population magnitude. Built with React and D3 v5, it employs a `csv` loader to fetch United Nations World Population Prospects 2019 data, then uses `xScale` and `yScale` from `d3.linearScale` and `d3.bandScale` to map values. Custom `AxisBottom` and `AxisLeft` components render ticks, while `Marks` draws rectangles with tooltips showing precise populations, styled with a teal fill and muted gray axis lines.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed
Comments
Sign in to join the discussion.