Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Ttrissentety
Last edited Feb 6, 2023
Created on Feb 6, 2023

This example displays the ten most populous countries as horizontal bars, with population values along a linear scale and country names along a categorical band scale. The chart uses React for component structure and d3.scaleBand, d3.scaleLinear, and d3.format for scales and tick formatting, rendering SVG rectangles with native `<title>` tooltips. Data comes from the United Nations World Population Prospects 2019, loaded via d3.csv and filtered to the top ten entries.

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