{"version":"1.0","type":"rich","title":"React Starter","description":"This React Starter example demonstrates how to resize an SVG element by adjusting a wrapper div's dimensions through button clicks. The application uses React's `useState` and `useRef` hooks alongside D3's `select` to read and update CSS width values dynamically. A `d3.select` call retrieves the element's current width, which increments or decrements by 50 pixels with each button press. The rendered SVG fills the container with a light gray background, showing a minimal integration of React state management with D3 utilities for DOM manipulation and styling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c6a4b9f146bf49cf8b3e2c6b629d4960?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}