{"version":"1.0","type":"rich","title":"Rendering Data with React","description":"This example shows a bar chart of the top 10 countries by population in 2020, rendered as SVG elements via React. The underlying CSV data is fetched and parsed with D3’s `csv` utility, then scaled using `scaleBand` and `scaleLinear`. React’s `useEffect` and `useState` manage asynchronous data loading, while `ReactDOM.render` mounts the app. Each bar’s height and width are derived from D3’s `max` and scale functions, mapping country names and population values to screen coordinates.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/bde7e17611564a6c87a3357bf25dc698?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}