🌍 Public
Viewing a saved revision (read-only)
5e1ad3beb42f44ccb7ccdd10ac3f11f2
Cake
A smiling cake with layered tan sponge, pink frosting, and decorative candle, flower, berry, star, and chocolate curl is drawn entirely in SVG. Using D3.js v7, the example demonstrates fundamental DOM manipulation by appending basic shapes—`rect`, `ellipse`, `circle`, and `path`—directly to an SVG canvas. Selection methods like `d3.select` and `append` build each element programmatically within a series of drawing functions. No external data is loaded; the visualization is purely illustrative, rendering static geometric decorations over a light gray plate.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.