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
AAkbar Nafisa
Last edited Jun 20, 2024
Created on Jun 20, 2024

This responsive bar chart visualizes the top 10 countries by total population as of January 1, using data from the UN Population Estimates 2024. It displays population values in thousands along the y-axis and country names along the x-axis, with a light gray inner rectangle framing the plot area. The visualization uses d3's `scaleBand` and `scaleLinear` to map data to positions, while the `@curran/responsive-axes` library handles axis rendering and `@curran/responsive-axes`'s `observeResize` function automatically adapts the chart to its container’s dimensions.

AI-generated description

A responsive bar chart.

Comments

Sign in to join the discussion.

MIT Licensed