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
FFarhodXoliyarov
Last edited Oct 13, 2022
Created on Oct 13, 2022

A cheerful yellow face is drawn in SVG and animated with D3.js v7. The face features a circular head, two eyes, and rectangular eyebrows that move up and down over two seconds. The mouth is rendered as an arc path using the `arc()` method, which defines its inner and outer radii and angular range. The code uses `select` to target the SVG element, `append` to build the grouped shapes, and `transition().duration()` to animate the eyebrow group’s transform, demonstrating basic D3 animation and SVG construction.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed