Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
RReymond Mesuga
Last edited Mar 14, 2021
Created on Mar 14, 2021
Forked from Pathetic Bar Chart

This visualization displays the top 10 most populous countries as a minimal bar chart with no axes or labels, rendering each country as a simple SVG rectangle. The bars are positioned using `d3.scaleBand` for the vertical country categories and `d3.scaleLinear` for horizontal population values, with data loaded from the United Nations World Population Prospects 2019 via `d3.csv`. The chart is built with React hooks (`useState`, `useEffect`) to fetch and slice the dataset, while React renders the SVG elements in a browser environment.

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