Skip to main content
100%

D3 Lets make a face

✓ Published2🌍 Public
Aant999
Last edited Apr 1, 2020
Created on Apr 1, 2020

A yellow circle with black outlines forms a face, featuring two eyes and rectangular eyebrows that animate in a bouncing motion. The left eye pulses by scaling its radius via chained D3 transitions, while the entire eyebrow group shifts vertically. A mouth initially appears as a narrow arc, then expands into a filled semicircle using D3’s `arc` generator and a `transition` that updates the path’s `d` attribute. The example uses `d3.select` to manipulate SVG elements within a React framework.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes