Gantt chart

A Gantt chart shows how long a set of tasks, events or processes lasts, drawing each one as a bar that runs along a time axis from its start date to its end date.

Best known for project schedules, it also suits any data with a beginning and an end: it shows at a glance when each item starts, how long it takes and which ones overlap in time.

Edit in the app

How to

To create a Gantt chart:

  1. Select 'bar' in 'Marks'.
  2. Link the categorical variable that names the items to the ‘Y-axis’.
  3. Link the start date and the end date variables to the ‘X-axis’.
  4. In the options of the date axis, under 'Relationship with other axes', set 'Axis organization' to 'Combined': both dates then share a single axis and each bar spans from one to the other.

Link the duration, or any other variable, to 'color' or 'label' to show it on the bars.