Skip to main content
100%

dv2020-ep10-viz12 - Faces

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

A grid of eighteen yellow circular faces with black stroke outlines, eyes, and mouths, each generated with randomized proportions and positioned in a fixed layout. The face components are built using React and rendered as SVG elements, with D3 v5 utilities `d3.range` for iteration and `d3.arc` for constructing the mouth path. Each face is independently parameterized by random scaling factors applied to face radius, stroke width, eye placement, and mouth dimensions. The example demonstrates modular component composition within a React rendering pipeline, where all faces share the same `faceSize` and `mouthWidth` inputs.

AI-generated description

"Let's Make a Face"

Project 1 of Dataviz 2020
Step six: face component

array of random faces.

Episode 10

MIT Licensed

Similar vizzes