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
FFatima125
Last edited Oct 8, 2022
Created on Oct 8, 2022
Forked from HTML Starter

A cheerful yellow face built from SVG shapes appears centered in the viewport, with two black eyes and a curved mouth. The example demonstrates basic D3.js shape generation using the `select` and `arc` APIs. Circles define the head and eyes with fixed pixel coordinates, while the mouth uses `d3.arc` with an inner and outer radius and a half-circle angle range. The SVG canvas is 960 by 500 pixels, and all elements are positioned relative to its dimensions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed