Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Stylized Bar Chart

0 stars1๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed