🌍 Public
Viewing a saved revision (read-only)
8478afe8c7ef4036b2fa7b4d5a40321a
Fork of Let's make a face with D3.js!
This visualization displays a colorful Mickey Mouse face constructed entirely with D3.js v5, using basic SVG shapes to form the character’s features. It shows the face, ears, eyes, nose, and hat as distinct geometric elements, with no underlying dataset—pure vector drawing. The code appends circles, ellipses, paths, and a rect to an SVG canvas, setting attributes like `cx`, `cy`, `r`, and `fill` directly. It uses D3’s selection and attribute methods to build the composition programmatically, relying on hardcoded coordinates for each shape to create the final playful portrait.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.