{"version":"1.0","type":"rich","title":"React Hooks Bowl of Fruit","description":"This example demonstrates a data visualization of a fruit bowl using React Hooks and D3.js. It shows a row of apple and lemon circles, where clicking a fruit selects it and highlights it with a black stroke. The code uses React's `useState` hook to manage the fruit data and selected fruit state, while D3's `scaleOrdinal` functions define the color and radius scales for each fruit type. The visualization renders as SVG circles within a React component, though the commented-out code suggests potential animation transitions that are not active.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e5df78960d124ee7a6614ae361ddeef3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}