Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Viewing a saved revision (read-only)

5e9e107c29284bc69ec25331ee23c4d8

Bar chart

0 stars2🌍 Public
BbeauMarko
Last edited Oct 28, 2020
Created on Oct 28, 2020
Forked from Bar chart

This bar chart displays the population of the top 10 most populous countries, with horizontal bars sorted by country name. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map population values and country labels. Data is loaded from a local CSV file and rendered as SVG rectangles, with axis tick labels formatted using D3’s `format` function. The chart includes a title, axis label, and gridlines via `tickSize`.

AI-generated description