{"version":"1.0","type":"rich","title":"Modular Smiley - Part IV - React-JS","description":"This example shows a modular smiley face built with React and D3, rendered as SVG. It separates the face into reusable components: a yellow background circle, two eyes, and a mouth drawn with D3's `arc` generator. The components are positioned using SVG `<g>` transforms for translation. The code uses D3 v7's `arc()` function to create the mouth path and React 17 for component composition, with `ReactDOM.render` mounting the app to the root element.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4cebe19230fe49a2ac0722f34177d532?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}