Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

The Barchart

Public visualization

Viewing a saved revision (read-only)

c17b771a23c34a3f9d4e7ffae343e591

The Barchart

0 stars3🌍 Public
JJezwin Varghese
Last edited Nov 21, 2019
Created on Nov 15, 2019
Forked from D3 Haha Emoji

This horizontal bar chart displays the populations of the ten most populous countries, using D3 v5 to map values to bar widths via `d3.scaleLinear` and `d3.scaleBand`. The SVG rendering includes gridlines, axis labels, and a title, with data loaded from a CSV file. Axis construction relies on `d3.axisLeft` and `d3.axisBottom`, while numeric tick labels are formatted using `d3.format`. The visualization is generated entirely client-side through D3’s data-join pattern.

AI-generated description