Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face!

Public visualization

Let's make a face!

0 stars1🌍 Public
Ssriramvsharma
Last edited Jul 7, 2020
Created on Jul 7, 2020
Forked from HTML Starter

This example renders a cartoon face using D3 v5 within a React framework. The face consists of a yellow circle with eyes, eyebrows, and a mouth, all drawn as SVG shapes. The eyebrows and mouth animate repeatedly through transitions, alternating between raised and lowered positions. The code directly uses D3’s `select`, `arc`, and `transition` methods, with the mouth’s shape changing via arc path updates and the eyebrows moving via `attr` transitions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed