Fork of D3 Starter
✓ Published0🌍 Public
This example renders a simple yellow smiley face as an SVG graphic using React and D3 v7. It shows a circle for the face, two smaller circles for eyes, and an arc for the mouth, all positioned within a 960×500 viewport. The code uses React’s `ReactDOM.render` to mount the component, while D3’s `arc` generator calculates the mouth path with specified inner and outer radii and angle ranges. The styling applies yellow fill and black stroke via CSS.
AI-generated descriptionMy first experiance with vizhub
MIT Licensed