Skip to main content
100%

Fork of Solar System

✓ Published0🌍 Public
Mmosesmunyasya@gmail.com
Last edited Jan 22, 2024
Created on Jan 22, 2024
Forked from Solar System

A fork of the Solar System visualizes the relative sizes of the Sun, planets, and Pluto, with distances not to scale. Each body appears as a colored SVG circle, animated sequentially via d3 transitions that grow the radii from zero. The code uses d3.select, data joins, and transition delays to reveal the bodies, with labels appearing beneath each circle. Planet size and color data come from Wikipedia’s rounded objects list, and the rendering uses plain SVG circles with HTML text elements.

AI-generated description

A 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

Similar vizzes