Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face (React and d3)

Public visualization

Viewing a saved revision (read-only)

7e9e0de068fe4c3e88d00c3381cde4b1

Fork of Smiley Face (React and d3)

0 stars0🌍 Public
DDouglas J Dougan
Last edited Oct 11, 2021
Created on Oct 11, 2021
Forked from HTML Starter

This example shows a stylized smiley face built with React and D3, rendered as SVG. The face is composed of separate React components for the background circle, eyes, and mouth, all positioned within a centered group. D3's `arc` function generates the mouth path, while the eyes use hardcoded circle coordinates. The code uses React 16 and D3 v6, with styling applied through a simple CSS file.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.