Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
Wwhyamn
Last edited Nov 4, 2020
Created on Nov 4, 2020
Forked from Stylized Bar Chart

This stylized bar chart visualizes the top 10 most populous countries for 2020 using data from the United Nations World Population Prospects 2019. Rendered as a static SVG via React, horizontal bars extend from the left axis, with a bottom axis formatted using d3's `format` function to abbreviate large numbers. The visualization is built with d3 `scaleBand` and `scaleLinear` for positioning, and the React components `AxisBottom`, `AxisLeft`, and `Marks` generate the ticks and rectangles. Hovering over a bar reveals the exact population count via an SVG `<title>` tooltip.

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