Skip to main content
100%

Cake@Delicious

✓ Published0🌍 Public
Aamruthacharyakothakota@my.unt.edu
Last edited Feb 25, 2025
Created on Feb 25, 2025
Forked from Chocolate cake

This example constructs a stylized SVG cake with layered rectangles for the sponge, a dripping pink frosting path, fruit toppings, and flickering candles. Built with raw SVG elements and animated via JavaScript, the fruits bounce alternately using CSS transitions and `setInterval`, while the candle flames flicker through a CSS `@keyframes` animation. The page uses vanilla JavaScript for DOM manipulation rather than D3.js, despite the README reference, and the rendering relies on inline SVG markup with styles defined in an external stylesheet.

AI-generated description

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

MIT Licensed

Similar vizzes