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
TTherese Manesia Cook
Last edited Sep 7, 2020
Created on Sep 7, 2020
Forked from HTML Starter

This example uses D3.js v6 to draw a simple smiling face entirely with SVG shapes. It shows a gradient-filled circle head, two dark eyes, and curved brows and a mouth created using d3.arc path generators with thick strokes and rounded line caps. The code relies on explicit SVG attribute settings like cx, cy, r, and transform rather than scales or data binding, and uses a linearGradient defined in the SVG for the face fill. No external data is involved; the visualization is purely procedural and static.

AI-generated description

tryna learn D3 :U

Comments

Sign in to join the discussion.

MIT Licensed