Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data | Make a Face Part 3 - Smiley with D3

Public visualization

Viewing a saved revision (read-only)

2ef3b12563724dbf9775721cb830f3f7

Data | Make a Face Part 3 - Smiley with D3

0 stars1🌍 Public
AAndreRGunawan
Last edited Sep 12, 2021
Created on Sep 9, 2021

A yellow smiley face rendered in SVG shows two black eyes and an open curved mouth against a circular yellow head with a black stroke. The face is built using React and D3 v7, with the mouth generated through a d3.arc() path using defined inner and outer radii and start and end angles. Eye positions are offset from the center, while the head radius derives from half the height minus stroke width, all within a 960 by 500 viewport.

AI-generated description

A bare minimum HTML page.