Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Responsive Bar Chart

Public visualization

Fork of Responsive Bar Chart

0 stars0🌍 Public
Ttejasviteegala@my.unt.edu
Last edited Mar 19, 2024
Created on Mar 19, 2024

This example shows a horizontal bar chart of the ten most populous countries, using population estimates as of January 1, 2024. It highlights the ranking of countries by total population, with the bars sorted in descending order. The visualization is built with D3.js, using the `select` and `descending` functions, and it responds to container resizing via the `observeResize` utility. Data is sourced from the `@curran/un-population-estimates-2024` package, and the chart is rendered as an SVG with configurable margins, labels, and inner rectangle styling.

AI-generated description

A responsive bar chart.

Comments

Sign in to join the discussion.

MIT Licensed