Skip to main content
100%

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

✓ Published1🌍 Public
IIlia Katkovnik
Last edited Mar 7, 2021
Created on Mar 2, 2021

A grid of yellow smiley faces is rendered, each face composed of SVG circles and an arc path to form the mouth. The code uses React with D3.js v6, leveraging D3's `arc` generator to construct the mouth shape and `range` to create multiple face instances. Each face's eye radius is randomized, producing subtle variations across the grid. The example demonstrates composing D3 primitives with React components for declarative visualization.

AI-generated description

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

MIT Licensed

Similar vizzes