Shapes
✓ Published0🌍 Public
A stylized birthday cake visualization renders a multi-layered dessert with colored icing, sprinkles, chocolate drips, and seven striped candles with flickering flames. Drawn with D3.js primitives such as `append`, `ellipse`, `rect`, and `path`, the design is generated procedurally from random drip heights and symmetrical candle placement. The React wrapper uses `ResizeObserver` to recompute the SVG dimensions adaptively, while `renderSVG` manages the canvas and `renderBarChart` clears and redraws all shapes on each container resize.
AI-generated descriptionCake Visualization
A detailed cake shape with candles created using D3.js. The visualization is responsive and will adapt to the container size.
The cake features:
- Detailed layered cake with frosting
- Multiple colored candles with flames
- Decorative elements including sprinkles and icing
- Chocolate drips and decorative borders
MIT Licensed