The Margin Convention
✓ Published1🌍 Public
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.
MIT Licensed