{"version":"1.0","type":"rich","title":"Fork of Loading Data with React & D3","description":"This example shows a horizontal bar chart of the top 10 most populous countries in 2020, based on UN population data loaded from a CSV file. The visualization uses React state to manage the asynchronous data loading, with the `useEffect` hook triggering a D3 `csv` request. The chart renders SVG rectangles whose widths are scaled by population using `scaleLinear`, while country names are positioned along the y-axis with `scaleBand`. The code demonstrates integrating D3 utilities for data fetching and scaling within a React component architecture.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6d39a06da26149ff8f444ac691465f4d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}