Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Face with D3

Public visualization

Face with D3

0 stars1🌍 Public
Nngannie
Last edited Jul 16, 2023
Created on Jul 15, 2023
Forked from HTML Cars Report

A smiling face drawn with SVG shapes animates its eyebrows up and down in a looping transition. The example uses D3 v4 selections to append circles for the eyes, rectangles for the eyebrows, and a path generated with the `d3.arc()` API for the mouth. All elements are centered within an SVG using a group transform, and the eyebrow motion is driven by chained `transition.attr()` calls on the group’s transform attribute.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed