Gantt Chart Example 3
This interactive Gantt chart visualizes task schedules over time, with each horizontal bar representing a task and its color indicating status (running, succeeded, or killed). Users can add or remove tasks and dynamically switch the visible time domain between one hour and one week, which triggers an animated redraw of the chart. Built with D3.js v4, the visualization uses `d3.scaleTime`, `d3.scaleBand`, and `d3.axisBottom` for the axes, while task data is stored in JavaScript arrays and rendered as SVG rectangles with smooth transitions.
AI-generated descriptionforked from <a href='http://bl.ocks.org/dk8996/'>dk8996</a>'s block: <a href='http://bl.ocks.org/dk8996/5538271'>D3.js Gantt Chart, example 3</a>
forked from <a href='http://bl.ocks.org/baramuyu/'>baramuyu</a>'s block: <a href='http://bl.ocks.org/baramuyu/ad1f10371a305db47ebaf9779202f7ac'>D3.js v4 Gantt Chart, example 3</a>