Skip to content

Hubble Explorer

Visualize the expansion of the universe through an interactive Hubble diagram. Plot galaxy recession velocities against distance to see Hubble’s Law in action.

  • Velocity (from redshift) vs. Distance plot
  • Interactive zoom and pan
  • Hover to see galaxy details
  • Query SDSS for galaxies in redshift range
  • Filter by morphological type
  • Select by sky region
  • Calculate Hubble constant from data
  • Show different distance measures
  • Compare photometric vs. spectroscopic redshifts
  • Explain Hubble’s Law
  • Show historical context
  • Interactive “discover the expansion” mode

SDSS SkyServer (direct API queries)

  • Millions of galaxies with spectra
  • Real-time queries
  • See Data Sources
  • Dynamic data loading based on user queries
  • D3 for the scatter plot
  • Result caching to reduce API calls
  • Progressive loading for large queries