Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart.

Public visualization

Viewing a saved revision (read-only)

689c77e76a9f47a2a82e1ca0e38a8fa4

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