Skip to main content
100%

Fork of Shapes with SVG and CSS

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

MIT Licensed

Similar vizzes