About This Visualization

A reusable D3.js component designed for real-time data visualization. The chart automatically scrolls as new data arrives, maintaining a moving time window that shows the most recent data points.

Credit: Based on work by Bo Ericsson.

Technical Details

  • Streaming: New data points arrive via setTimeout simulation
  • Scrolling: Time axis automatically advances with new data
  • Reusable: Implements D3’s reusable chart pattern
  • Configurable: Width, height, bar width, and initial data

How It Works

Streaming

New data points arrive via setTimeout simulation

Scrolling

Time axis automatically advances with new data

Reusable

Implements D3’s reusable chart pattern