Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

let's make a face with d3

Public visualization

Viewing a saved revision (read-only)

3b4efca0fe044fb8b4647d1a2b6ae27a

let's make a face with d3

0 stars0🌍 Public
AAsimali39
Last edited Jan 3, 2022
Created on Jan 3, 2022
Forked from Simley Face Part I

A smiling face rendered as React components demonstrates how d3 shape generators work with SVG. The face is built from modular parts—BackgroundCircle, Eyes, and Mouth—composed inside a FaceContainer that applies a translation transform. D3’s `arc` generator creates the mouth path using inner and outer radii with fixed start and end angles. The yellow circle face, black stroke, and positioned eyes result from declarative React props that pass numeric values for radii, offsets, and dimensions, following an example from v3 of the D3 gallery.

AI-generated description

Half way towards a simley face.