Skip to main content
Public

Share visualization

Loading preview…

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

0
AAishwarya Manjunath
Last edited Feb 19, 2022
Created on Feb 19, 2022

This example displays a stylized emoji-like face with a yellow circular head, black outlined strokes, two eyes, and a curved mouth, centered on a 960 by 500 SVG canvas. Built with React 17 and D3 v7, it uses the `d3.arc()` generator to define the mouth’s path and SVG elements like `<circle>` and `<path>` for rendering. The face is positioned by translating a `<g>` group to the canvas center, with all coordinates and sizes computed from JavaScript constants for clarity.

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