Skip to main content
100%

Swimlane using d3.js

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

A swimlane timeline charts randomly generated work items across labeled lanes, color-coding each item as past or future relative to the current date. The main chart uses a D3 time scale with Sunday and month tick marks, while a smaller overview panel provides a zoomable navigation brush. The code updates D3 v2 to v4, replacing legacy APIs with `d3.scaleTime`, `d3.axisBottom`, and `d3.axisTop` for time-based axes and rendering. Items are positioned using linear y-scales per lane, with lanes automatically subdivided to avoid overlapping intervals.

AI-generated description

A new Swimlane Timeline version

  • d3.v2 -> d3.v4

forked from <a href='http://bl.ocks.org/fmassicano/'>fmassicano</a>'s block: <a href='http://bl.ocks.org/fmassicano/c1be96f1ec4ceba4c6fe0439b8306fbb'>Swimlane Chart using d3.js</a>

mit Licensed

Similar vizzes