Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Homework #1: Work in Progress

Public visualization

Homework #1: Work in Progress

0 stars0🌍 Public
JJCarpenter-WPI
Last edited Sep 18, 2019
Created on Aug 28, 2019

This example shows a simple smiley face rendered as an SVG graphic using React and D3. The face consists of a yellow circle with a black stroke, two black eyes, and a mouth drawn as an arc. The code uses React to create SVG elements and the `arc` function from d3-shape to generate the mouth path. The components are positioned using React JSX, with explicit dimensions and offsets defined in the script.

AI-generated description

This was the first step when I was working on the first homework.

Comments

Sign in to join the discussion.

MIT Licensed