{"version":"1.0","type":"rich","title":"Loading Data with React and D3","description":"This example demonstrates how to load and display data in a React component using D3’s `arc` generator, rendering an SVG smiley face. It uses React’s `useState` hook to track the mouse position and updates a circle’s coordinates on `mousemove` events. The code imports `arc` from `d3` and renders SVG elements with React, while loading external libraries via CDN.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/71d0e7c6bea64824ab71601ce0f37063?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}