Skip to main content
100%

HTML Starter

✓ Published1🌍 Public
EEddie Musabula
Last edited Feb 4, 2020
Created on Jan 31, 2020
Forked from HTML Starter

This example renders a static Smiley face SVG using React and D3.js. The code constructs a yellow circle with black stroke, two eyes, and a mouth arc generated using D3’s `arc()` function with specified inner/outer radii and start/end angles. It imports React, ReactDOM, and the D3 arc API, and uses React’s `render` method to draw the SVG into a root div. The layout is centered via a `transform` translate, and dimensions are fixed at 960 by 500.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes