Skip to main content
100%

Solar System

✓ Published0🌍 Public
Pperez.h89@gmail.com
Last edited Aug 11, 2024
Created on Aug 11, 2024
Forked from D3 Transitions

This animated visualization depicts the solar system’s planets orbiting the sun, with each celestial body shown as a circle scaled by its relative radius and positioned by its distance in astronomical units. Planet names appear as labels below their circles. The animation uses D3 transitions to sequentially grow each circle and fade in its label, then smoothly updates positions and sizes. The code leverages D3 v7’s `select`, `transition`, and `easeLinear` APIs, with a custom data array containing each planet’s distance, radius, and color.

AI-generated description

A visualization of the solar system.

MIT Licensed

Similar vizzes