Autoupdating graphite timeseries in d3
✓ Published0🌍 Public
CCaged
Last edited Dec 16, 2014
Created on Dec 16, 2014
This example shows live-updating time-series graphs that automatically refresh their data at a regular interval. It renders each graph as an SVG with D3 scales and axes, drawing lines from Graphite’s JSON endpoint. The code uses `d3.json` for data fetching, `d3.svg.axis` and `d3.svg.line` for rendering, and a clip path to constrain the plotted area. A real-time mode triggers repeated requests using a dynamic URL that updates the time window based on the first payload’s interval.
AI-generated description