{"version":"1.0","type":"rich","title":"Fork of Rendering Data with React & D3","description":"This example shows a bar chart of global video game sales by genre, with bars rendered as SVG rectangles whose heights are scaled by sales figures. The code loads CSV data using `d3.csv` and manages state with React hooks (`useState`, `useEffect`), while `d3.scaleBand` and `d3.scaleLinear` map genres and sales values to pixel positions. The chart is drawn entirely through React components that return SVG elements, demonstrating a hybrid approach where D3 handles data processing and scales, while React handles the DOM rendering.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2762f7ff1ccb4294a37b8e7a3f88a0db?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}