Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Funny Face by TL

Public visualization

Funny Face by TL

0 stars0🌍 Public
Hharoldle
Last edited Feb 22, 2023
Created on Feb 22, 2023

This example draws a cartoon face using D3.js version 5 and SVG. It renders a yellow circular head with green hat and ears, featuring eyebrows, white eyes with brown pupils and highlights, black eyelashes, and a red tongue within a pale mouth. The face also includes a moustache (implied) and is centered via a translated group. The code uses D3 selections and shape methods like `append`, `attr`, and `arc` to compose the illustration, with hardcoded pixel coordinates for precise placement.

AI-generated description

Creating a funny face

Comments

Sign in to join the discussion.

MIT Licensed