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
Llololoandlalala
Last edited Jul 21, 2020
Created on Jul 21, 2020

This example uses D3.js v5 to draw a cartoon face entirely with SVG shapes. The code builds a yellow circle for the head, then appends circles for eyes and rectangles for eyebrows, all positioned with fixed pixel offsets. A mouth is created using the `d3.arc()` generator with custom inner and outer radii and angle values. The visualization demonstrates basic D3 selection, SVG element creation, and the arc API for path generation.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed