Viewing a saved revision (read-only)
396a0bd76d2248d3af969b4b230d0de5
Solar System Assignment
Ten U.S. states appear as color-coded circles on a black background, sized by population and arranged horizontally. Each circle is labeled with the state name and population count. The visualization uses D3 selections and transitions to animate the circles growing from radius zero with staggered delays, then updating positions smoothly. Population data comes from Wikipedia’s list of U.S. states and territories by population. The code applies a power scale to map population values to circle radii and uses `transition.attrTween` implicitly through D3’s `transition` API with `easeLinear` for updates.
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