{"version":"1.0","type":"rich","title":"Fork of Rendering data with React","description":"This visualization displays the populations of ten countries in a horizontal bar chart using SVG rectangles rendered by React. The chart loads UN Population data for 2019 from a CSV file using D3’s `csv` utility, then uses React’s `useState` and `useEffect` hooks to fetch and store the top ten rows. The bar widths are scaled with D3’s `scaleLinear`, while the vertical positions use `scaleBand` on country names. The rendering maps over the data with React’s `map` function to create each `<rect>` element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/03806ca9a4964a0bb082078724b9624f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}