Fork of Solar System
This example displays the solar system with planets shown to scale in size but not in distance, set against a stylized landscape with a lake, path, trees, and deer. The planets are drawn as circles using D3’s `select`, `append`, and `attr` methods, with the Sun positioned in the corner. The code renders a light blue sky and a blue lake as background rectangles. Data comes from Wikipedia’s list of gravitationally rounded objects, though the visualization omits explicit planet labels or orbits. The scene uses simple geometric shapes without SVG gradients, leaving the planets as flat fills.
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