Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a bar chart 2!

Public visualization

Viewing a saved revision (read-only)

eda0c89f8dbf44798522770d4f0b4109

Fork of Making a bar chart 2!

0 stars0🌍 Public
Mmikeferri
Last edited Jan 1, 2022
Created on Jan 1, 2022

This chart displays the populations of the ten most populous countries using horizontal bars. It loads data from a CSV file, converts population values, and scales them with `d3.scaleLinear` while positioning countries via `d3.scaleBand`. The SVG rendering includes axes from `d3.axisBottom` and `d3.axisLeft`, with formatted tick labels and a title. Styling via external CSS sets bar color, tick text, and label sizes.

AI-generated description