Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
GGerard Jongerhuis
Last edited Dec 1, 2021
Created on Dec 1, 2021
Forked from D3 Starter

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 description

My first experiance with vizhub

MIT Licensed

Similar vizzes