Skip to main content
Public

Share visualization

Loading preview…

Fork of Hello HTML

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Hello HTML

0
VVenkata Rajashekar Reddy Chinthala
Last edited Feb 20, 2022
Created on Feb 20, 2022
Forked from Hello HTML

A React-based smiley face is rendered as an SVG using D3’s `arc` generator for the mouth. The face is composed of reusable components—a red background circle, two eyes with yellow highlights, and a curved mouth—positioned via a translated group. The code defines the face’s dimensions, offsets, and stroke widths as props, with data hardcoded in `index.js`. D3 v7 provides the `arc` API, while React 17 manages the component tree.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed