Skip to main content
100%

Worm-5

✓ Published0🌍 Public
YYiorgos Bagakis
Last edited Oct 29, 2022
Created on Oct 26, 2022

A growing chain of circles undulates across a violet background, its length and radius expanding over time. The animation uses a repeating interval to update a dataset, repositioning each circle along a sine wave while shifting its fill color from green toward darker tones. Built with D3 v7, the code generates data procedurally via `dataMaker.js` and renders SVG circles with chained `.join()` calls in `vizMaker.js`, applying animated attributes for x, y, radius, and fill. Strokes remain white for contrast.

AI-generated description

Using D3 version 7 while watching Episode 5 of Get it Right in Black & White.

Animated the circles and changed the colours. I refactored the code adn split into modules.

MIT Licensed

Similar vizzes