Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
BBorisIdeler
Last edited Dec 27, 2020
Created on Dec 25, 2020
Forked from D3 Face

This bar chart displays the populations of the world’s fourteen most populous countries, sorted from largest to smallest. The visualization uses a horizontal bar layout, with the y-axis listing country names and the x-axis representing population in millions, using a custom `.3s` tick format. Built with D3 v6, the chart employs `scaleLinear` and `scaleBand` to map data, and renders as an SVG via the `select` API. Data is read from `data.csv`, with population values converted from thousands to actual numbers.

AI-generated description

An icon.

Comments

Sign in to join the discussion.

MIT Licensed