Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
TTobbiedev
Last edited Jun 8, 2021
Created on Jun 8, 2021
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as a bar chart with no axes, labels, or other visual encodings beyond the raw rectangle widths. It uses React with hooks (`useState`, `useEffect`) to fetch and load data from the United Nations World Population Prospects 2019 CSV, then renders SVG `<rect>` elements via `d3.scaleBand` for vertical positioning and `d3.scaleLinear` for bar widths. The chart omits all chart furniture, making the bars float against a blank background.

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