Skip to main content
100%

Pavani

✓ Published0🌍 Public
PPavaniMangugari
Last edited Jun 18, 2022
Created on Jun 18, 2022
Forked from Pavani

This visualization shows a smiley face drawn with basic D3.js shapes, featuring animated eyebrows that move up and down in a looping transition. The code uses D3 v5 to manipulate SVG elements directly, creating a yellow circle for the face, two smaller circles for the eyes, rectangles for the eyebrows, and a path generated with the `d3.arc` function for the mouth. The eyebrow animation chains two `transition().duration(2000)` calls to move them up and then back down, demonstrating fundamental DOM manipulation and SVG rendering with D3.

AI-generated description

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

MIT Licensed

Similar vizzes