Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js

Public visualization

Let's make a face with D3.js

0 stars0🌍 Public
NNikhil
Last edited Mar 14, 2019
Created on Mar 14, 2019

This example uses D3.js to construct a cartoon face entirely with SVG shapes. The code selects an SVG canvas and centers a group element, then draws a yellow circle for the head. D3’s `arc` generator creates a mouth from two predefined arc paths, while the code defines variables for eyes and eyebrows, though their rendering is not implemented. The face is built directly from geometric primitives, with no external data source.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed