🌍 Public
Viewing a saved revision (read-only)
e22dd1ee831e44eb8e7773ab646ce88f
Daruma dolls
Three Daruma dolls stand in a row, each composed of layered ellipses for the body, face, eyes, eyebrows, nose, lips, and mustache, rendered in shades of red, white, and black. The code uses D3’s `select` and data join pattern to create an SVG, then binds an array of ellipse objects—containing `cx`, `cy`, `rx`, `ry`, and `fill` properties—to draw each shape. The dolls show variations in mouth and mustache styling, with a soft yellow background.
AI-generated descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative