Skip to main content
100%

Data Visualisation

✓ Published0🌍 Public
MMaurice Huang
Last edited Mar 27, 2021
Created on Mar 22, 2021
Forked from HTML Starter

This example renders a yellow SVG smiley face centered in a 960×500 viewport using React components and D3’s `arc` generator for the mouth. The background circle, two black eyes, and mouth are drawn with basic SVG shapes, with coordinates transformed to the center. React manages the component structure, while D3 computes the mouth’s path from inner and outer radii and fixed start and end angles. The visualization demonstrates a minimal integration of React and D3 for static geometric graphics.

AI-generated description

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

See also React Starter.

</svg>
MIT Licensed

Similar vizzes