Skip to main content
100%

Fork of Pathetic Bar Chart

✓ Published0🌍 Public
CCem Onal
Last edited Feb 10, 2023
Created on Feb 10, 2023
Forked from Pathetic Bar Chart

This example visualizes the top 10 most populous countries as a minimal bar chart with no axes, using rectangles sized by each country’s estimated 2020 population from the United Nations World Population Prospects 2019 dataset. The chart loads data via d3.csv, scales the bars with d3.scaleBand and d3.scaleLinear, and renders them as SVG elements within a React component using useState and useEffect. The visualization deliberately omits labels, gridlines, and scales, leaving only the raw bars to emphasize the relative magnitudes.

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