Skip to main content
Public

Share visualization

Loading preview…

Metro Ranking Bump Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

Metro Ranking Bump Chart

0 stars0Public
KKamal Dhital
Last edited Nov 11, 2026
Created on Nov 11, 2026

Created from react-d3-starter template

US Metro Home Values Explorer

A bump chart tracking how the home-price ranking of the top 15 US metros changed over time, built with React and D3.

Features

  • Loads real housing price data from data/housing_prices_us_metros.csv at runtime.
  • Computes the price ranking of each of the top 15 metros by size at several sampled years (2000, 2005, 2010, 2015, 2020, 2025, and the latest year present).
  • Uses a time scale for the x-axis so the hover crosshair can snap to the nearest sampled date.
  • Click a line or its right-side label to highlight a single metro.
  • Hover for a tooltip showing the actual dollar value for every metro at that date.

Files

  • index.jsx — React entry point.
  • App.jsx — Loads the CSV, prepares the ranked series, and renders the chart + tooltip.
  • viz.js — D3 rendering of the bump chart and the hover crosshair layer.
  • useContainerDimensions.js — ResizeObserver hook.
  • styles.css — Styling.

References

Comments

Sign in to join the discussion.