Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

a2997228c50648a7ab61838f0044b644

Bar Chart

0 stars3🌍 Public
Ssploitfun
Last edited Jul 8, 2020
Created on May 5, 2020
Forked from D3 Intro

This bar chart displays population estimates for ten countries in 2018, ordered alphabetically from China to Mexico. The height of each steel-blue rectangle corresponds to the country’s population value, scaled linearly along the horizontal axis using `scaleLinear`, while the vertical axis positions countries with `scaleBand`. The SVG is rendered with D3 v5, using `csv` to load the data and `axisLeft`/`axisBottom` to generate axes. A fixed margin is applied via a translated `<g>` element.

AI-generated description