{"version":"1.0","type":"rich","title":"04-react components & es6","description":"This example renders a smiley face in SVG using React components and ES6 destructuring. It imports the `arc` function from d3.v7 to generate the mouth path via `mouthArc()`. The `BackgroundCircle` component receives a radius prop, while the main `App` component composes circles, a rectangle, and the arc path inside a translated group. React 18 renders the visualization into the `#root` element using `ReactDOM.render`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7d808b4821c448a98d318da7b2587028?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}