Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Lets make a face with D3.js!

Public visualization

Fork of Lets make a face with D3.js!

0 stars0🌍 Public
Nnajeebgdds
Last edited Mar 13, 2021
Created on Mar 13, 2021

This example shows a simple yellow face built entirely with D3.js v6 SVG primitives. The code uses `d3.select` to target the SVG element, then appends circles for the eyes and a face outline, with a mouth drawn using the `d3.arc()` path generator. Coordinates are centered via a translation transform, and eye spacing and offsets are set as constants. The face is static, with no interaction or data binding, rendered directly in the browser through the bundled index.js file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed