{"version":"1.0","type":"rich","title":"React State Hook example","description":"This example demonstrates a minimal React component that uses the `useState` hook from React 17 to track and display a numeric click counter. It renders a button and a paragraph showing how many times the button has been clicked, with each click updating the state and re-rendering the component. Built with ReactDOM rendering into a root div, the visualization uses `d3.v7` for potential data manipulation but does not directly call any d3 functions. The code shows a simple state-driven interaction rather than a graphical chart.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0f097ba6d7b8402faed0cb3545e213c9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}