Skip to main content
100%

Grouped Bar Chart

✓ Published0🌍 Public
CChristian Magelssen
Last edited Nov 30, 2020
Created on Nov 30, 2020
Forked from Grouped Bar Chart

This example shows the ten most populous countries grouped by continent, with horizontal bars scaled by population. Each continent appears as a separate band containing its countries, with a title and shared x-axis. The visualization is built with React and D3 v6, using `scaleBand` for country placement, `scaleLinear` for population values, and SVG rectangles rendered via a custom `Marks` component. Data is loaded asynchronously from a CSV file using D3's `csv` method.

AI-generated description

Showing the 10 most populous countries, grouped by continent.

MIT Licensed

Similar vizzes