Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Simple Bar Chart

Public visualization

Viewing a saved revision (read-only)

c91483374fbc49b59f71a052478b670e

Fork of Simple Bar Chart

0 stars0🌍 Public
Bblanchestora@gmail.com
Last edited May 4, 2024
Created on May 4, 2024
Forked from Simple Bar Chart

This fork of the simple bar chart displays the ten most populous countries as of January 1, 2024, with country names on the x-axis and population in thousands on the y-axis. It uses D3’s `scaleBand` and `scaleLinear` to position bars, along with `axisLeft` and the `@curran/axis-labels` helper for axis rendering and labels. The data is loaded from a GitHub-hosted CSV file, filtered to countries, and sorted in descending order to select the top ten.

AI-generated description

A bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.

Challenge

  • Fork this viz and modify it to show your own data