Skip to main content
100%

Lets make a face with D3

✓ Published1🌍 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.

MIT Licensed

Similar vizzes