Skip to main content
100%

The Margin Convention

✓ Published1🌍 Public
AAndre J Denais
Last edited Sep 11, 2020
Created on Sep 11, 2020

A bar chart displays the ten most populous countries in 2020 using UN population data loaded via `d3.csv`. React renders an SVG with `rect` elements sized by `d3.scaleLinear` and positioned with `d3.scaleBand`. The chart uses the margin convention to offset the visualization within the SVG. The page also imports a utility function that summarizes dataset size, though it is not currently displayed.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React and D3 to render data as a radial burst.

MIT Licensed

Similar vizzes