Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

MAMAA Company Market Caps

Public visualization

Viewing a saved revision (read-only)

b8f214ca38de40f4a984dd1ddd084594

MAMAA Company Market Caps

0 stars0🌍 Public
RRuba Khan
Last edited Sep 7, 2024
Created on Sep 7, 2024
Forked from Solar System

This animated visualization displays the relative market capitalizations of six major tech companies—Meta, Apple, Microsoft, Amazon, Google, and Netflix—using circles sized by a square-root scale. Data comes from Forbes. D3 transitions animate each circle’s radius and labels fade in sequentially, while a second, faster transition handles updates. The code uses `scaleSqrt` for radius scaling, `transition` with `easeLinear`, and `selectAll().join()` to manage enter, update, and exit selections for both circles and text labels.

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