Skip to main content
100%

dv2020-ep6-viz03 - Face

✓ Published2🌍 Public
Zzach b.
Last edited Mar 7, 2023
Created on Mar 7, 2023

A stylized face is drawn with two black circles for eyes centered on a larger yellow circle, all rendered as SVG elements. The face uses computed positions and radii from constants such as `eyeRadius`, `eyeOffsetX`, and `eyeOffsetY`, with a black stroke for the head outline. The React application imports `React` and `ReactDOM` to render the `<svg>` directly into the DOM, using inline JSX and attributes like `stroke-width` to define visual properties.

AI-generated description

"Let's Make a Face"

Project 1 of Dataviz 2020
Step two: react.js

Episode 6

MIT Licensed

Similar vizzes