Skip to main content
100%

Let's make a face with D3

✓ Published3🌍 Public
NNikki-gea
Last edited Aug 24, 2020
Created on Aug 24, 2020

A yellow SVG face with black-outlined features is drawn using D3 v5. The head is a circle centered in a 960 by 500 viewport, with eyes and animated eyebrows that move up and down via chained transitions. A mouth is rendered using the `d3.arc` shape generator with specified inner and outer radii. The code imports `select` and `arc` from D3, appends elements to an SVG group, and uses `transition().duration()` to create the eyebrow motion.

AI-generated description
MIT Licensed

Similar vizzes