Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
Ccharliemok
Last edited Jan 28, 2021
Created on Jan 28, 2021

This example demonstrates how to build an interactive smiley face using D3.js v5, starting with a red SVG background and progressively adding facial features. The code uses d3.select to manipulate the SVG canvas, setting the background color and preparing the structure for additional elements. Though the primary implementation is incomplete, the accompanying README and video tutorial show how to create moving eyebrows through DOM manipulation with D3's data-binding and selection methods. The example is rendered entirely as inline SVG elements within a 960x500 viewport.

AI-generated description

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

MIT Licensed

Similar vizzes