Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
BB.V.K
Last edited Apr 13, 2020
Created on Apr 13, 2020
Forked from 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 description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes