Skip to main content
100%

Bar Chart

✓ Published0🌍 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.

MIT Licensed

Similar vizzes