Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Ssoo
Last edited Jul 29, 2022
Created on Jul 29, 2022
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as horizontal bars with no axes, using a React component that loads data via `useData` and `d3.csv`. It renders an SVG with `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, drawing tick lines, labels, and rectangles. The data comes from the United Nations World Population Prospects 2019, filtered to the first ten rows. Loading state is shown with a "Loading..." message.

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