Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Horizontal bar chart that represents the population of various countries in millions.

Public visualization

Viewing a saved revision (read-only)

47970d689df94fb6a5efeb04aec730f3

Horizontal bar chart that represents the population of various countries in millions.

0 stars3🌍 Public

This horizontal bar chart displays the 2023 population estimates for various countries in millions, ordered from smallest at the top to largest at the bottom. The chart uses a linear scale for the x-axis representing population figures, while the y-axis lists countries in descending order. Built with D3.js, the visualization uses `scaleLinear` for axes, `scaleBand` for the categorical country labels, and `flatRollup` to preprocess the CSV data. A color legend provides interactive filtering, dimming non-hovered bars when the user explores specific countries.

AI-generated description

Graph Overview

Type: Horizontal Bar Chart Purpose: Displays the population of various countries measured in millions. Orientation: Countries with smaller populations are at the top, and those with larger populations are at the bottom.

Stacked bars showing estimated religion breakdown of the most populous countries in 2010. Based on an example from the tutorial Splitting Charts. Interactions:

  • Hover over the legend to highlight religions.

Data is from The Global Religious Landscape by Pew Research, generated using this processing script.