Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lets make a face with D3

Public visualization

Lets make a face with D3

0 stars1🌍 Public
TTajallah-maryam
Last edited Mar 23, 2020
Created on Mar 23, 2020

A yellow circle with black strokes forms the base of a smiling face, complete with two eyes and a curved mouth, all rendered as SVG elements. The face is centered in a 960×500 viewport using a translated group. Built with D3 v5 in React, the code uses `select`, `attr`, and `arc` to position shapes and generate the mouth path from angular coordinates.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed