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
Jjediknight956
Last edited Sep 5, 2019
Created on Sep 5, 2019

A yellow smiley face is drawn on an SVG canvas using D3.js v5, with two black eyes and an arc-based mouth positioned relative to the center of the 960x500 viewport. The code explicitly sets circle radii, coordinates, and fill/stroke attributes, while the mouth uses the d3.arc() helper to generate a path with defined inner and outer radii and angle ranges. Static geometric values define the face’s proportions, with no dynamic data or interaction involved.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed