Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
Nngannie
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Face with D3

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 it as SVG rectangles. It employs D3 v4’s `scaleLinear` for the population axis, `scaleBand` for categorical country positioning, and `axisLeft`/`axisBottom` to generate the chart’s axes. Population values are parsed and multiplied by 1,000 to reflect actual counts from the source data.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed