Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a bar chart

Public visualization

Viewing a saved revision (read-only)

ce1b2125ccd54e1dad5f9846b45e4e60

Fork of Making a bar chart

0 stars0🌍 Public
Mmythili
Last edited Dec 11, 2022
Created on Dec 11, 2022
Forked from Making a bar chart

This horizontal bar chart ranks the world’s ten most populous countries, using D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to map population values and country names. The SVG rendering reads `data.csv` and formats axis ticks with `format('.3s')`, replacing “G” with “B” for billions. Bars are styled steelblue, while axis labels and the title are set via CSS.

AI-generated description