Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Top 5 U.S. Cities by Population in 2023

Public visualization

Viewing a saved revision (read-only)

f054b85d7d5149a3ae2ad841f5582601

Top 5 U.S. Cities by Population in 2023

0 stars3🌍 Public
Ssamozarif@gmail.com
Last edited Nov 29, 2024
Created on Sep 11, 2024
Forked from Solar System

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 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