Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
TTom
Last edited Jan 5, 2020
Created on Jan 5, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the ten most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React components with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles as bars. Axis ticks are generated manually with `xScale.ticks()` and formatted using `d3.format`. The chart includes a population axis label and uses a hover tooltip via the SVG `<title>` element to show exact values.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes