Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a face with D3.js

Public visualization

Viewing a saved revision (read-only)

a5656bdeb8a54b3ba64505429ac2cccc

Make a face with D3.js

0 stars2🌍 Public
AAustin0524
Last edited Oct 2, 2022
Created on Oct 2, 2022

A yellow smiley face is centered in an SVG canvas, with two eyes and a curved mouth built from basic SVG shapes. D3.js v7 selections and the `arc` generator draw the mouth path, while `circle` elements create the head and eyes. The body is rendered entirely in SVG, with the face assembled from primitives positioned relative to the canvas center.

AI-generated description