Skip to main content
100%

Let's make a face with D3.js!

✓ Published1🌍 Public
DDemi Johnson
Last edited Sep 21, 2020
Created on Sep 21, 2020

A simple yellow circle face is drawn with D3.js, featuring two black eyes and an arc-based mouth. The visualization demonstrates basic SVG shape creation using D3 selections, appending circles and a path element. The mouth is generated with the `d3.arc()` generator, using specified inner and outer radii and angles to form a curved smile. The face is centered on a 960x500 SVG canvas, with eye positions offset horizontally and vertically from the center.

AI-generated description
MIT Licensed

Similar vizzes