Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

My First Viz - Smiley

Public visualization

Viewing a saved revision (read-only)

4f2ffc78334c4ddc82e9cb6e17a56b34

My First Viz - Smiley

0 stars0🌍 Public
PPaulo Wells
Last edited Nov 30, 2021
Created on Nov 27, 2021
Forked from HTML Starter

A stylized smiley face rendered as an SVG using React components, with a yellow circular background, black eyes, and a curved mouth. The face is centered via SVG groups and layering modular React components like `BackgroundCircle`, `Eyes`, and `Mouth`. The mouth shape is generated using the d3 `arc` function with configurable radius, width, and amplitude parameters. The example demonstrates a declarative, component-based approach to data visualization, where geometric props (e.g., `eyeOffset`, `mouthRadius`) control the appearance. Rendering uses React DOM with version 16.7 and d3 v7, all within a simple HTML page.

AI-generated description

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

See also React Starter.