Skip to main content
100%

timeline chart with zoom

✓ Published0🌍 Public
TThanaporn-sk
Last edited Jun 14, 2019
Created on Jun 14, 2019

This timeline chart displays 15 vehicle intervals from their start to end dates, with each vehicle assigned to its own horizontal SVG band. The visualization uses D3v4’s time scale, axis, nesting, and zoom behavior, which is applied to a full-page overlay rect; panning and zooming rescale the x-axis and updates each band’s rectangle positions and widths via the zoom transform. Data is generated randomly in `data.js`, and the tooltip shows the raw date strings on hover.

AI-generated description

timeline chart with zoom

require:

  • D3.js v4
  • coffeescript

by TBD | @tbdr

forked from <a href='http://bl.ocks.org/TBD/'>TBD</a>'s block: <a href='http://bl.ocks.org/TBD/600b23e56545026ae6fda2905efa42ce'>timeline chart with zoom</a>

mit Licensed

Similar vizzes