Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
Rrhona-o'neill
Last edited May 4, 2022
Created on May 4, 2022
Forked from Pathetic Bar Chart

This example visualizes the top 10 most populous countries using a "pathetic" bar chart that deliberately omits axes, scales, or labels. The bars are rendered as SVG rectangles positioned using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The React component uses `useState` and `useEffect` to fetch and process the data, then maps each country to a rectangle filled with the default black color.

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