The Margin Convention
✓ Published1🌍 Public
A bar chart displays the populations of the ten most populous countries, loaded from UN Population 2019 data. Using React and D3, the `scaleBand` maps countries on the vertical axis and `scaleLinear` maps population values to bar widths. SVG rectangles are rendered inside a transformed group, with the data fetched via D3’s `csv` utility. The visualization adheres to a fixed margin convention to clearly present the comparative scale.
AI-generated descriptionA program that load in some data about CSS named colors using D3 utilities, and uses React render the data as a radial burst!
MIT Licensed