Skip to main content
Public

Share visualization

Loading preview…

basic

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

basic

2
Ttknaik
Last edited Oct 22, 2021
Created on Oct 22, 2021
Forked from HTML Starter

This example shows a static smiley face rendered as a yellow circle with black outline, two eyes, and an open mouth, centered in an SVG canvas. The face is built using React components that create SVG elements, with the mouth generated via the `d3.arc()` API to define an annular sector. Circles are positioned using explicit coordinates and transforms, while the stroke width and radii are stored as constants. The visualization uses React 17 and D3 v7, with the shape drawn entirely through SVG markup.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed