Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
ZZhi Guangda
Last edited Aug 13, 2019
Created on Aug 13, 2019

A playful smiley face built with D3.js responds to clicks and button presses. The face, drawn with SVG shapes including circles for eyes and an arc for the mouth, sits on a dark background. Multiple buttons control step, restart, and reset functions, while number inputs for "Nodes" and "Clusters" suggest an underlying clustering algorithm. The code uses D3's `select` and `arc` APIs to manipulate SVG elements and animate the face's eyebrows, demonstrating fundamental DOM manipulation and interactive event handling.

AI-generated description

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

MIT Licensed

Similar vizzes