Public
Edited
Jul 15, 2022
Insert cell
# Gantt chart with Plot
Insert cell
Insert cell
tasks = FileAttachment("gantt-project.csv").csv({typed: true})
Insert cell
dependencies = FileAttachment("gantt-project-dependencies.csv").csv({typed: true})
Insert cell
taskByID = d3.index(tasks, d => d.task_id);
Insert cell
depData = dependencies.map( d => {
d.head = taskByID.get(d.task_id).start;
d.tail = taskByID.get(d.dependency).start;
return d;
});
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more