Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

799f24d2c5a4419dbed71c1fb1b4e507

Bar Chart

0 stars1🌍 Public
TTheOutstandingDinosaur
Last edited Aug 17, 2024
Created on Aug 17, 2024

A horizontal bar chart displays the top 10 countries by 2020 population from a UN dataset, loaded via D3’s `csv` and rendered as SVG. The React app uses `scaleBand` for the categorical y-axis and `scaleLinear` for numeric x-axis, with custom `AxisBottom`, `AxisLeft`, and `Marks` components. Population values are formatted in billions using `format('.2s')`, and rectangular marks are colored teal against a minimal grid.

AI-generated description

A programme that laods using D3 and using React to keep track