Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 test

Public visualization

Viewing a saved revision (read-only)

5664200e3b9e427a82b484e09360caff

D3 test

0 stars1🌍 Public
LLeyou Hong
Last edited Oct 20, 2020
Created on Oct 19, 2020
Forked from HTML Starter

This example shows a simple, animated face built with SVG shapes in React. The code uses D3 v5 selection methods to create a yellow circle for the head, two circles for eyes, and a path for a mouth generated with the `d3.arc` API. A rectangular eyebrow is animated using chained `transition().duration(2000)` calls, moving it vertically and back. Rendering is done entirely through SVG elements, with static positions defined in `index.js` and loaded via `bundle.js`.

AI-generated description

A bare minimum HTML page.

See also React Starter.