Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
Aaristidesnakos
Last edited Jul 23, 2019
Created on Jul 22, 2019

A smiley face built with D3.js demonstrates basic SVG manipulation by translating a group element to the canvas center and appending circles, rectangles, and an arc-generated mouth. The code uses d3.select and d3.arc to construct the face, with eyebrows positioned relative to eye spacing. A video tutorial explains how the interactive eyebrows move, though the static example itself only renders the fixed facial features.

AI-generated description

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

MIT Licensed

Similar vizzes