Skip to main content
Public

Share visualization

Loading preview…

Suhaila's temp smiley face

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

Viewing a saved revision (read-only)

5fb6415ba14d4085acecf59fdb300e62

Suhaila's temp smiley face

0
Jjjacobatandover
Last edited Jul 5, 2021
Created on Jul 5, 2021
Forked from Smiley face pt. 2

This example shows a single yellow smiley face rendered as an SVG circle with a black outline, centered in a React component. The circle’s radius is calculated relative to the window’s height, and its position is derived from the viewport’s center. The code uses React 17 and ReactDOM to render the SVG, while D3 v7 is loaded but not actively used. The rendering approach relies on basic SVG circle properties, with a stroke width of 10 pixels.

AI-generated description

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

See also React Starter.