Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart.

Public visualization

Viewing a saved revision (read-only)

b74c0ad004e841749f6c2c77f7e6db23

Making a bar chart.

0 stars1🌍 Public
Mmjoaquim12
Last edited Oct 28, 2019
Created on Oct 28, 2019

A simple horizontal bar chart displays the population of the top ten most populous countries from a CSV file. The code uses D3 v5 APIs including `csv`, `scaleLinear`, and `scaleBand` to map data to SVG rectangles, with `axisLeft` and `axisBottom` for axes. Population values are formatted using D3's `format` function, and the chart includes a title and axis labels.

AI-generated description