Skip to main content
100%

Trying out D3.js

✓ Published1🌍 Public
JJuan David Bolaños Rojas
Last edited Feb 3, 2020
Created on Feb 3, 2020
Forked from HTML Starter

A yellow circle with a black outline, eyes, and a downward-curving arc mouth forms a static smiling face. The animation is limited to the eyebrows, which slide down and back up over two seconds using chained `transition().duration(2000)` calls. The code imports `select` and `arc` from D3 v5 to build the SVG via appended groups and shapes, with elements positioned using explicit `attr` transforms and dimensions read from the SVG's height and width attributes.

AI-generated description
MIT Licensed

Similar vizzes