Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BarChart

Public visualization

BarChart

0 stars1🌍 Public
Kkosakase
Last edited Nov 1, 2019
Created on Oct 30, 2019

This bar chart displays population figures for ten countries, using horizontal bars with a linear scale for population and a band scale for country names. The visualization renders in SVG using D3 v5, importing methods like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the axes. Data comes from a CSV file where population values are multiplied by 1000 after parsing. Steelblue rectangles represent each country’s population, with margins and padding applied to the chart layout.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed