Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

make bar

Public visualization

make bar

0 stars1🌍 Public
Fforeverworld1879
Last edited Mar 11, 2020
Created on Mar 11, 2020
Forked from make bar

A horizontal bar chart displays the top ten most populous countries, with China leading and Mexico trailing. The chart uses D3 v5’s `csv` loader to parse population data, which is multiplied by 1,000, and `scaleLinear` and `scaleBand` to map values. SVG rectangles are positioned via the band scale, while `axisLeft` and `axisBottom` add categorical and numeric axes, with tick labels formatted using `format`. A custom title and axis label annotate the visualization, which is styled with steel blue bars and a monospace font.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed