{"version":"1.0","type":"rich","title":"Fork of Rendering data with React and D3","description":"This example shows a horizontal bar chart of the top 10 countries by 2020 population, rendered as SVG rectangles. It loads UN population data from a CSV file using `d3.csv`, then maps the data to React state with `useState` and `useEffect`. The chart uses `d3.scaleBand` for the y-axis country categories and `d3.scaleLinear` for the x-axis population values, with each bar’s width and position computed from these scales. React renders the SVG elements, while D3 handles data parsing and scaling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/24186cf76c9e44b8811cca54512dcb7c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}