Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a bar chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed