Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published0🌍 Public
EEeshwarReddy
Last edited Feb 25, 2023
Created on Feb 25, 2023

A yellow smiley face with animated eyebrows is rendered in SVG, with the face constructed from D3.js v5 primitives including `select`, `append`, `arc`, and attribute setters. The eyes and mouth are drawn as circles and an arc path, while the eyebrows are rectangles that move up and down using chained `transition().duration()` calls. The code demonstrates fundamental DOM manipulation by building the figure from scratch and applying a two-second animated transform to the eyebrow group.

AI-generated description

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

MIT Licensed

Similar vizzes