timeline chart with zoom
✓ Published0🌍 Public
TTBD
Last edited May 15, 2017
Created on May 13, 2017
This example displays a timeline of 15 randomly generated vehicle intervals, with each row rendered as a colored horizontal bar spanning its start and end dates. The chart supports zooming and panning through a D3 v4 zoom behavior applied to an overlay rectangle, which rescales a time scale and updates all bars and the axis accordingly. Tooltips show raw date details on hover. The layout is built with SVG, nested data via `d3.nest`, and a bottom axis using `d3.axisBottom`, while the zoom transformation is applied using `transform.rescaleX`.
AI-generated descriptiontimeline chart with zoom
require:
- D3.js v4
- coffeescript
by TBD | @tbdr
mit Licensed