Skip to main content
100%

Fork of Hello HTML

✓ Published1🌍 Public
BBlake McCarty
Last edited May 11, 2022
Created on May 9, 2022
Forked from Hello HTML

This example displays a horizontal bar chart of the top 10 countries by population, based on UN 2019 data loaded via d3.csv. The React component uses useState and useEffect to fetch and parse the data, then computes scales with d3.scaleBand and d3.scaleLinear. SVG rectangles render the bars with dimensions derived from the scales. The visualization updates reactively when data arrives, showing a clean, minimal chart in a React-D3 hybrid setup.

AI-generated description

Half of the smiley HTML page.

MIT Licensed

Similar vizzes