Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3!

Public visualization

Let's make a face with D3!

0 stars1🌍 Public
Ffabricio3g
Last edited Sep 23, 2020
Created on Sep 20, 2020
Forked from HTML Starter

A yellow face with black outlines is drawn using D3 selections and SVG shapes, including circles for the head and eyes and rectangles for eyebrows. The eyebrows animate up and down via chained `transition().duration()` calls, while a mouth is created using the `d3.arc()` generator. The code uses `d3.select` and `d3.arc` from D3 v6, with explicit SVG attributes for positioning and sizing.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed