Skip to main content
100%

Changing Faces

✓ Published0🌍 Public
JJacklyn Turner
Last edited Oct 31, 2019
Created on Sep 25, 2019

The visualization displays a grid of smiley faces whose colors and facial features change randomly every two seconds. Each face is rendered as SVG shapes built from React components, using D3’s arc generator to draw the mouth. The background fill color for each face is selected from the CSS named colors dataset loaded via d3.csv. The faces refresh automatically through an HTML meta refresh tag, producing a continuously shifting mosaic of colors and expressions.

AI-generated description

This visualization combines two examples demonstrated by Curran: The Smiley face implementation with React & D3 and the MDN CSS Colors data set. The color dataset was used as the background fill for the smiley faces. This is set to refresh on a 2 second timer so the colors and faces are changed at each refresh.

MIT Licensed

Similar vizzes