Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a face with D3.js

Public visualization

Fork of Let's make a face with D3.js

0 stars0🌍 Public
SSampras Dsouza
Last edited Jun 22, 2022
Created on Jun 22, 2022

A yellow circle with black outlines forms a cartoon face, using SVG elements for the head, eyes, eyebrows, and a mouth created with d3.arc’s path. The eyebrows animate vertically via chained d3 transitions, moving up and down repeatedly. D3 v5 selections and attribute methods position the face components relative to the SVG's center, while inline JavaScript and CSS handle rendering and page layout.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed