Skip to main content
100%

Fork of Fork of Fork of Fork of Let's make a face with D3.js! By Niharika Reddy Amanaganti

✓ Published1🌍 Public
NNiharika Reddy Amanaganti
Last edited Feb 24, 2023
Created on Feb 24, 2023
Forked from Hello VizHub

A smiling face drawn with SVG shapes is centered on a pink background, with animated eyebrows that repeatedly move upward and downward. The code creates the face using D3 selections and shape generators, appending circles for the eyes and head, rectangles for the eyebrows, and a `d3.arc` path for the mouth. Eyebrow motion is driven by chained `transition().duration()` calls in D3 v5, manipulating a group element’s transform attribute.

AI-generated description

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

MIT Licensed

Similar vizzes