Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

912f6d05964840fd9a218366e02ea5f3

Bar Chart

0 stars1🌍 Public
Nneydareh
Last edited Nov 18, 2019
Created on Nov 18, 2019
Forked from Bar Chart

This bar chart displays population estimates for the ten most populous countries, with each bar’s length proportional to the country’s population. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population values to bar widths and country names to vertical positions, rendering bars as SVG rectangles. Data is loaded from a CSV file, and populations are parsed and multiplied by 1000 before rendering. The chart includes fixed margins but no labels, leaving the bars to communicate the ranking.

AI-generated description