Skip to main content
Public

Share visualization

Loading preview…

[DataViz] 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

[DataViz] Hello HTML

0
AAga Domanska
Last edited Nov 21, 2023
Created on Nov 21, 2023
Forked from Hello HTML

This example renders a stylized smiley face as an SVG using React and D3. It combines D3’s `arc` generator to create the mouth and a half-circle for the left eye, while drawing the head, right eye, and stroke with React markup. The face is centered on a 960×500 canvas, with the mouth positioned via angular coordinates and the left eye offset and rotated. The code imports only the `arc` function from D3, leaving the rest of the visualization as explicit React elements.

AI-generated description

Smiley face with eyes.

Comments

Sign in to join the discussion.

MIT Licensed