Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

4bbbc61a44fa42178444f050e846e476

Making a bar chart

0 stars1🌍 Public
CChristine Lanser
Last edited Oct 31, 2020
Created on Sep 30, 2020
Forked from Making a bar chart

A horizontal bar chart displays the top 10 most populous countries, with population values converted to thousands and formatted with a custom tick formatter that replaces gigabytes with billions. The chart uses d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to render axes and bars in SVG. Grid lines extend from the x-axis, while axis labels and a title are added as SVG text elements.

AI-generated description