Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

HTML Starter

0 stars1🌍 Public
Ttayyabanisar
Last edited May 14, 2020
Created on May 14, 2020
Forked from HTML Starter

This example demonstrates a simple animated face built with D3 v4 and React, rendered as SVG on an HTML page. The purple background hosts a yellow circle with black stroke, two eyes, and an eyebrow that transitions vertically over two seconds before returning. A mouth is drawn using an arc path generator from D3. The code selects the SVG element, uses method chaining for attribute setting, and applies transitions with `transition().duration()` to animate the eyebrow.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed