Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of homework smiley face

Public visualization

More options

Embed on a websiteCopy iframe embed code

Embedding does not grant access to private visualizations or project datasets.

Download & exportHTML, source ZIP and authorized project data
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

Fork of homework smiley face

0 stars0🌍 Public
SSnigdha6698
Last edited Feb 20, 2022
Created on Feb 20, 2022

This example shows a stylized smiley face rendered as an interactive-free vector graphic, with green pupils, purple irises, and a smile formed by a D3 arc path. The face includes exaggerated features such as thick black eyebrows, eyelashes, and vertical lines on the sides, all drawn as SVG elements within a React component. The code uses React 17 and D3 v7, specifically the `arc()` generator to create the mouth, while all other shapes are plain SVG circles, ellipses, and lines. The SVG canvas is 960 by 500 pixels, centered by a transform, and the face is constructed with fixed numeric coordinates.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed