Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Steve's Smiley Face Part I

Public visualization

Viewing a saved revision (read-only)

59b96fef7e584b4d9b2137b776cfa3a0

Steve's Smiley Face Part I

0 stars0🌍 Public
Bbootshine2
Last edited May 8, 2020
Created on Aug 29, 2019
Forked from HTML Starter

This example shows a yellow smiley face with two eyes and an arc-shaped mouth, rendered as SVG inside a React app. A dropdown lets the viewer toggle the look direction between left and right, which changes a wink eye’s position offset. The face is built with basic D3 shapes—`circle` elements for the head and eyes, and `d3.arc` for the mouth path—positioned using a centered translation. React manages the UI state, while the d3.v5 library handles the geometric calculations in an SVG coordinate system.

AI-generated description

A bare minimum HTML page and smiley face built on VizHub using basic d3.js functions.