Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React Starter

Public visualization

Fork of React Starter

0 stars1🌍 Public
KKerim
Last edited Aug 19, 2022
Created on Aug 15, 2022
Forked from React Starter

This example displays a simple yellow smiley face rendered as a static SVG graphic. It shows a large circle with a thick black stroke, two smaller black circles positioned as eyes, and a curved arc forming a mouth. The visualization uses React to define the SVG structure and D3's `arc()` generator to compute the mouth path. The `index.html` loads React 16 and D3 v7 from a CDN, while the `index.js` imports React and the `arc` function from D3, with the final SVG sized to 960 by 500 pixels.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed