🌍 Public
Viewing a saved revision (read-only)
c1b6988351124a6a8187c36a22dc2155
Fork of Let's make a face with D3.js!
A sad smiley face drawn entirely with SVG shapes demonstrates basic D3.js DOM manipulation and animation. The code uses `select` to target the SVG element and `append` to create a yellow circle, eyes, and rectangular eyebrows. A `transition().duration()` sequence moves the eyebrow group down and back, creating a repeated frowning motion. The mouth is generated using the `arc()` generator from D3's shape module with specified inner and outer radii and angle values.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a sad smiley face whose eyebrows move.