🌍 Public
Viewing a saved revision (read-only)
21c30b07c6b142a2a946c3b20beb1369
The Margin Convention
This visualization, “The Margin Convention,” displays the ten most populous countries in 2020 as a horizontal bar chart. It uses React state to manage data loaded via D3’s `csv` utility, with `scaleBand` and `scaleLinear` defining the axes. The bars are rendered as SVG `rect` elements within a group that is translated by a fixed margin, demonstrating the standard margin convention for chart layout.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data as a radial burst.