Skip to main content
100%

Fork of D3-1: Making a face

✓ Published0🌍 Public
AAbishekprabakaran
Last edited Sep 21, 2023
Created on Sep 21, 2023

A yellow circle face with blue eyes, black eyebrows, and a mouth formed by an arc sits centered in an SVG canvas. Two rectangular eyebrows animate upward simultaneously over two seconds, then return to their original positions. The code uses D3 v7 selections, including `d3.select` and `d3.append`, with SVG elements like `circle`, `rect`, and `path`, plus the `d3.arc` API for the mouth shape. Transitions are applied via `.transition().duration()` to animate the eyebrow movement.

AI-generated description
MIT Licensed

Similar vizzes