Skip to main content
100%

Micky

✓ Published0🌍 Public
HHARSHA BUDDANA
Last edited Feb 20, 2023
Created on Feb 19, 2023
Forked from Hello VizHub

This example renders a static SVG smiley face named Micky using React and D3.js. The face includes a head, eyes, nose, mouth, and ears, constructed with SVG primitives like circles, ellipses, and D3 arc generators. The code demonstrates DOM manipulation through React components while leveraging D3’s `arc()` API to define the mouth, nose, and ear shapes, with transformations applied to position them. The image is drawn at a fixed 900×500 canvas size, using a simple color palette and stroke widths, with no interactive or animated behavior.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes