Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BA 401 EXERCISE

Public visualization

BA 401 EXERCISE

0 stars0🌍 Public
DDebaliena
Last edited Feb 16, 2022
Created on Apr 29, 2021

A yellow smiley face with moving eyebrows demonstrates fundamental DOM manipulation using D3.js. The visualization is created with SVG elements, including circles for the face and eyes, rectangles for eyebrows, and a path for the mouth. D3 selections and the `arc` generator construct the face, while chained `transition` calls with `.duration(2000)` animate the eyebrows up and down. The source code is provided as an HTML file with a bundled JavaScript module.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed