Skip to main content
100%

The Margin Conven

✓ Published1🌍 Public
CCHOI SEUNG HYUN
Last edited May 18, 2022
Created on May 18, 2022

A bar chart displays the top ten countries by 2020 population from a UN dataset, loaded via D3’s `csv` utility and rendered as SVG rectangles. The visualization uses React’s `useState` and `useEffect` hooks to fetch and parse the data, while D3’s `scaleBand` and `scaleLinear` map country names and population values to pixel coordinates within a fixed margin. The chart updates once data arrives, initially showing a loading message in a `<pre>` element.

AI-generated description

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

MIT Licensed

Similar vizzes