Skip to main content
100%

Let's make a face with D3 (following the video)

✓ Published0🌍 Public
Ddmcgown3
Last edited Aug 14, 2020
Created on Aug 12, 2020

A smiley face drawn with SVG circles demonstrates fundamental D3.js DOM manipulation, with animated eyebrows that move via selection and attribute updates. The example uses D3 v5’s `select` and `append` methods to build the SVG structure, starting with a fixed-radius circle on a 960×500 canvas. It follows a tutorial video, showing how to create and style basic shapes programmatically, while the accompanying CSS hides page margins and overflow. No data source is involved; the focus is purely on interactive, code-driven drawing.

AI-generated description

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

MIT Licensed

Similar vizzes