Gantt Chart tryout
✓ Published1🌍 Public
This example displays a Gantt chart with two distinct datasets. It visualizes project timelines and their phases as colored horizontal bars across a time scale, with milestones marked as points. The code uses D3 v5’s `d3.scaleTime` to map dates to positions, and `d3.timeParse` to convert date strings. The SVG rendering is positioned within an HTML container, with a tooltip (`#tag`) that appears on hover, styled by the included CSS. The chart’s source data is defined in JavaScript arrays for projects and tasks.
AI-generated descriptionMIT Licensed