Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published0🌍 Public
SShaik Rizwana
Last edited Mar 5, 2025
Created on Feb 13, 2025

This example creates an animated space scene with a Saturn-like planet, dense blue rings, and randomly scattered star shapes. A flying saucer spacecraft moves horizontally across the screen using a looping `transition.attrTween` with `d3.interpolateString`. The visualization demonstrates fundamental DOM manipulation with D3 v5, building SVG elements through `select`, `append`, and `attr` calls, and uses a radial gradient defined in `defs` for the planet surface.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes