Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Let's make a bar chart

Public visualization

Let's make a bar chart

0 stars2๐ŸŒ Public
Ssunilkrishnav
Last edited Mar 22, 2020
Created on Mar 22, 2020

This bar chart displays population estimates for the ten most populous countries, using horizontal bars ordered alphabetically by country name. The visualization loads data from a CSV file and renders SVG rectangles scaled by population magnitude. Built with D3 v5, the code uses `d3.csv`, `scaleBand`, `scaleLinear`, `axisLeft`, and `axisBottom` to construct the chart with labeled axes and steel-blue bars. Margins, a custom inner plotting area, and a 0.1 band padding define the layout.

AI-generated description

hi

Comments

Sign in to join the discussion.

MIT Licensed