Skip to main content
100%

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

✓ Published2🌍 Public
AAbdouEnsaj
Last edited Jul 26, 2022
Created on Jul 26, 2022

This fork of the “Let's make a face with D3.js!” tutorial demonstrates fundamental DOM manipulation by rendering a static yellow smiley face with eyes, eyebrows, and a curved mouth in an SVG canvas. The code uses D3 v5 selections, `append` and `attr`, along with the `arc` generator to shape the mouth path. All facial elements are positioned using translated coordinates and fixed numeric offsets. The example serves as a clear introduction to building SVG graphics programmatically with D3's declarative approach.

AI-generated description

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

MIT Licensed

Similar vizzes