Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

lets make a face with d3.js

Public visualization

lets make a face with d3.js

0 stars0🌍 Public
Sshatomouimena
Last edited Nov 4, 2021
Created on Nov 4, 2021
Forked from React Starter

This example builds a cartoon face in SVG using D3.js v7 and React. It draws a yellow circular head, two black eyes, and a curved mouth path, all positioned within an SVG container. The code uses D3’s `select` and `arc` APIs to generate the mouth’s arc shape, while circles are created via appended SVG elements. The face is centered using a transform, and the rendering relies entirely on static SVG primitives with black strokes for outlines.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed