Fork of Solar System
This animated visualization displays the planets of the Solar System with their relative sizes drawn to scale, while distances between them are not accurate. Planets are rendered using SVG gradients, with Earth and Neptune using radial gradients, while Venus, Mars, Jupiter, and Saturn have custom linear gradients with multiple color stops to create a textured, planet-like appearance. The scene is set against a black background. The code uses the d3 library, specifically the `select`, `transition`, and `easeLinear` functions, and dynamically constructs SVG elements based on data sourced from Wikipedia’s list of gravitationally rounded objects.