Viewing a saved revision (read-only)
f08b985e69ac4604a516c6056bdfea88
Top 5 U.S. Cities by Population in 2023
This animated visualization displays the top five most populous U.S. cities in 2023, with circles scaled by the square root of each city's population and labeled with the city name and exact population figure. The chart uses a dark radial-gradient background and color-coded radial gradients for each circle. Built with D3.js version 7.8.5, the code leverages the `select`, `transition`, and `easeLinear` APIs to manage the animated entrance of elements, delaying the growth of each circle and the fading in of its labels. The underlying data comes from a Wikipedia list of U.S. cities by population.
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