Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart - 071919

Public visualization

Making a Bar Chart - 071919

0 stars1🌍 Public
HhhernandezATsxu
Last edited Jul 20, 2019
Created on Jul 20, 2019

A horizontal bar chart ranks ten countries by population, using steel-blue bars scaled linearly from zero to each country's total. The visualization loads population data from a CSV file, multiplies the values by 1,000, and renders an SVG with D3 v5's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The bars are grouped with margins and a padding of 0.1, with country labels on the y-axis.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed