Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

11650230

Public visualization

Viewing a saved revision (read-only)

4486e5b94c9b4fbf9cc87a80511c5678

11650230

0 stars1🌍 Public
Ppethavenu
Last edited Feb 22, 2023
Created on Feb 22, 2023

A smiling animal face built from D3.js SVG shapes demonstrates basic DOM manipulation. The example constructs the figure using circles and lines for features like eyes, pupils, ears, whiskers, and a nose, all positioned with the `attr` method. It uses `d3.select` to append elements to an SVG canvas. No data or interactivity is present; the sketch is static, showing only how D3 can create and style primitive vector shapes.

AI-generated description

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