Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

c5566b4e49014d9f991d77f4746903fe

Fork of Shapes with SVG and CSS

0 stars1🌍 Public
Hhortulanus
Last edited Feb 7, 2021
Created on Feb 7, 2021

A yellow circle with black outline and a smile-shaped arc form a face, complete with two eyes and rectangular eyebrows. The eyebrows animate by translating up and down over two-second intervals using chained `transition` calls. Built with React and D3 v6, the visualization renders purely as SVG elements (circles, rectangles, and a path) styled partly through an external CSS file. The code explicitly sets SVG dimensions, uses `d3.arc` to generate the mouth path, and applies transforms to position facial features.

AI-generated description

React Starter code.