Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A2 Bar Chart

Public visualization

Viewing a saved revision (read-only)

4774efc09cfb44eebe53b2c1da24d964

A2 Bar Chart

0 stars0🌍 Public
Nnathanjmuljadi@gmail.com
Last edited Feb 2, 2025
Created on Feb 2, 2025
Forked from Simple Bar Chart

This bar chart visualizes the top 10 most populous countries as of January 1, 2024, based on the UN population estimates dataset. The chart displays each country's name on the x-axis and its total population (in thousands) on the y-axis, with bars extending from a baseline to the population value. Using D3.js, the code employs `scaleBand` for the categorical x-axis and `scaleLinear` for the numerical y-axis, while the `viz.js` module handles axis rendering and label placement. Styling includes a light inner rectangle background and padding between bars.

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