Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Data_Visualization_YellowFace_PY

Public visualization

Viewing a saved revision (read-only)

97e07f9d800f4b40ac9c16791579404f

Fork of Data_Visualization_YellowFace_PY

0 stars0🌍 Public
Sshabbab01
Last edited Feb 28, 2022
Created on Feb 21, 2022

This visualization shows the basic construction of a smiley face using two circular eyes and a head with a red stroke, while a blue mouth is added via D3’s arc generator. The head and eyes are drawn as raw SVG circles with fixed coordinates. The mouth path is created using D3 v7’s `arc()` factory, which defines inner and outer radii and a start/end angle in radians. The code selects the SVG element with `d3.select`, appends a group, and positions it via a transform.

AI-generated description

Half way towards a smiley face.