Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Gantt2 (overlapping titles)

Public visualization

Fork of Gantt2 (overlapping titles)

0 stars0🌍 Public
RRoman Polulekh
Last edited Dec 27, 2022
Created on Dec 21, 2022
Forked from Gantt2

This example visualizes a Gantt chart with horizontal bars representing task durations, colored green or red by status, and includes overlapping time labels for tasks sharing the same start time. It uses D3 v7 to load CSV data, scaleTime for the x-axis, scaleBand for task categories, and SVG rendering with axisLeft and axisBottom. The code filters out labels that collide horizontally, and adds a tooltip on mouseover showing task details.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed