Skip to main content
100%

D3 Trial

✓ Published0🌍 Public
Rrutu777
Last edited Jan 2, 2021
Created on Jan 1, 2021
Forked from HTML Starter

A cartoon face is drawn using D3.js v6 within an SVG, centered in a 960 by 500 viewport. The face features yellow circular head, black eyes, and a mouth shaped as an arc path. The left eyebrow animates upward with a sequence of two `transition().duration(2000)` calls, while the right eyebrow remains static. The code uses D3’s `select`, `arc`, and attribute setters, and it runs in a React framework context. All shapes are appended to a translated group element.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes