Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's make a face with D3.js!

Public visualization

Viewing a saved revision (read-only)

1ac9bec75fb74b5fb4e18b579f907eec

Fork of Let's make a face with D3.js!

0 stars0🌍 Public
Kkiyimba5
Last edited Feb 28, 2021
Created on Feb 28, 2021

This fork of “Let’s make a face with D3.js!” draws a smiley face as static SVG shapes: a yellow circle, two black eyes, and an arc-based mouth. D3 selections and the `arc()` generator position the facial features relative to the SVG’s width and height. The code imports `select` and `arc` from d3.v5, sets attributes like `cx`, `cy`, and `r` manually, and leaves eyebrow paths incomplete, showing only the face’s base construction without animation or interaction.

AI-generated description

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