Solar System Gradient
✓ Published0🌍 Public
This animated visualization displays the planets of the solar system in a horizontal line, with relative sizes to scale but distances not to scale, starting from the Sun on the left. Each celestial body is rendered as a circle filled with a radial SVG gradient defined in `<defs>`, using colors that approximate each planet’s appearance. Data on planetary radii and orbital distances comes from Wikipedia’s list of gravitationally rounded objects. The code uses D3’s `transition`, `easeLinear`, and join methods to animate the circles’ radii and positions sequentially.
AI-generated descriptionA visualization of the solar system. Relative sizes to scale, distances not to scale.
Data from Wikipedia: List of gravitationally rounded objects of the Solar System.
Challenge
- Option A: Use this template to visualize the relative size of various numbers.
- Option B: Add SVG Gradients to make the planets look more planet-like
MIT Licensed