Skip to main content
Public

Share visualization

Loading preview…

Fork of emoji-like face with mouth (D3)

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 emoji-like face with mouth (D3)

1
BBVNPK001
Last edited Feb 21, 2022
Created on Feb 21, 2022

A yellow circular face with two black eyes and an open mouth is rendered as an SVG graphic using React and D3. The code defines the facial features as geometric primitives: a yellow circle for the head, two smaller circles for eyes, and a D3 arc generator for the mouth. D3's `arc` function creates the mouth path with specified inner and outer radii and angular ranges. The entire face is centered by applying a `transform` translation to a group element, and the visualization is mounted into the DOM via `ReactDOM.render`.

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