🌍 Public
Viewing a saved revision (read-only)
ed1372865dcd4407af8a2dc0094652ee
Fork of Parcel Sandbox
A yellow smiley face rendered as SVG via React, with a black-outlined circle, empty eyes, and a D3 arc path forming the mouth. The example demonstrates composing D3 shape generators with React components, using `d3.arc` to define the mouth’s inner and outer radii and angular range. The face is centered in a 960×500 viewport, with D3 v7 and React 16 loaded from CDNs. It shows how D3’s geometric utilities integrate into a React rendering pipeline without a simulation or data binding.
AI-generated descriptionReact Starter code.