Skip to main content
100%

Fork of Rendering Data with React Radial Burst

✓ Published1🌍 Public
Qqtrfx
Last edited Jun 17, 2023
Created on Jun 17, 2023

This visualization uses React to render a bar chart of the top 10 countries by population in 2020, as provided by a UN population dataset. The code loads the data with D3's `csv` utility and maps the country names to the y-axis with `scaleBand` and population values to the x-axis with `scaleLinear`. Each bar is an SVG `rect` element generated through React's `map` function, with dimensions calculated from the D3 scales. The chart is presented as an SVG canvas within a React component, using the `useState` and `useEffect` hooks to fetch and process the data asynchronously.

AI-generated description

A program that loads in some data using D3 utilities, and uses React to render the Data.

MIT Licensed

Similar vizzes