Skip to main content
100%

Let´s make a face with D3.js!

✓ Published0🌍 Public
JJpcofre
Last edited Aug 20, 2021
Created on Aug 20, 2021
Forked from Hello HTML

A yellow circle with a black outline forms a face, two black circles serve as eyes, and an arc-shaped path creates a mouth. The SVG elements are centered using a translation transform, with eyes positioned at fixed offsets and the mouth drawn via D3's `arc` generator with specified inner and outer radii. The example uses D3 v7’s `select` and `append` methods to build the static composition.

AI-generated description
MIT Licensed

Similar vizzes