{"version":"1.0","type":"rich","title":"Fork of Rendering Data with React","description":"This example shows a horizontal bar chart of the top 10 countries by population as of 2020, using React to render SVG rectangles. The chart loads CSV data with `d3.csv` and use `d3.scaleBand` and `d3.scaleLinear` to map countries and population values to screen coordinates. The data is fetched asynchronously via `useEffect`, stored in React state, and displayed after a brief \"Loading...\" message. React’s `useState` and `useCallback` manage the data flow, while `d3.max` determines the scale domain.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/be20fca67eac4db68450255a70195d91?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}