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 stars1🌍 Public
HHaniAlHawasli
Last edited Dec 9, 2020
Created on Dec 8, 2020
Forked from Cars Report

This example draws a cartoon face in an SVG canvas using D3.js v6. It constructs a yellow circle for the head, two circles for eyes, rectangles for eyebrows, and an arc-based path for the mouth. All shapes are positioned within a centered group using SVG transforms, with hardcoded coordinates and dimensions from the index.js source. The final render is scaled via an SVG transform attribute in the HTML.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed