Skip to main content
100%

Lets make a face with D3.js

✓ Published0🌍 Public
Ppo-drik
Last edited Aug 14, 2019
Created on Aug 14, 2019
Forked from SVG and CSS Shapes

A yellow circular face with two eyes and a mouth is drawn using D3.js v5, with eyebrows that animate upward and back down over several seconds. The example uses `d3.select` and `d3.arc` to render SVG shapes including circles, rectangles, and a path for the smile. Transitions with specified durations (`transition().duration()`) drive the eyebrow movement. Data is not loaded; instead, hard-coded attributes control spacing and dimensions.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes