Skip to main content
šŸŒ Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed