Skip to main content
100%

Bar Chart

✓ Published3🌍 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
MIT Licensed

Similar vizzes