Skip to main content
100%

Fork of Smiley Face (React and d3)

✓ Published0🌍 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.

MIT Licensed

Similar vizzes