Fork of Grouped Bar Chart
✓ Published0🌍 Public
This example shows the 10 most populous countries grouped by continent using a horizontal bar chart for each group. Each continent is rendered as a separate chart section with its own y-axis, while a shared linear x-axis encodes population values. The visualization is built with React components and D3 v6 scales, including `scaleBand` for grouping and `scaleLinear` for population. Data is loaded asynchronously from a CSV via `d3.csv`, and bars are rendered as SVG rectangles with tooltips showing formatted population values.
AI-generated descriptionShowing the 10 most populous countries, grouped by continent.
MIT Licensed