Fork of Render Data with React & D3
✓ Published1🌍 Public
This example shows a horizontal bar chart of the top 10 countries by 2020 population, rendered as SVG rectangles sized by population. The app uses React state and hooks to fetch a CSV from a gist, parse it with `d3.csv`, and map the data to scales via `d3.scaleBand` and `d3.scaleLinear`. The chart updates reactively when data loads, displaying a simple loading message until then.
AI-generated descriptionRenders data with D3, uses react state to keep track of data
MIT Licensed