Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gantt-csv

Generate Gantt charts in SVG from CSV files. This repository serves as the issue tracker for the gantt-csv npm package.

Installation

You can install gantt-csv in your system globally as following lines:

npm install -g gantt-csv

If you want to use it instantly without installation, add npx before the command in following sections.

Examples

Example 1: Basic Gantt Chart

Generate SVG files from simple CSV files with standard headers (title, start, end).

Input (./examples/01_primitive/project01.csv)

title,start,end
Primitive,2026-05-01,2026-05-17
Data completion,2026-05-18,2026-05-31

Run command

gantt-csv examples/01_primitive/project01.csv

Preview

Gantt Chart Sample

Example 2: Enhanced Chart with Row Attributes

Add extra row attributes such as validation errors or summary notes directly in your chart, by adding gantt-csv as the very first column.

Input (./examples/02_rowattr/project02.csv)

gantt-csv,title,start,end
,Normal Task Line,2026-05-01,2026-05-17
error:OUT_OF_RANGE,Validation Error Task,2026-05-18,2026-05-31
note:Awaiting client feedback,Documentation Note Task,2026-06-01,2026-06-14

Run command

gantt-csv examples/02_rowattr/project02.csv

Preview

Gantt Chart Sample

Example 3: Configuration Area (New in v0.3)

You can configure chart parameters (like bar-height and day-width) directly at the top of your CSV file before the task rows by using the gantt-csv: on block.

Input (./examples/03_config/project03.csv)

gantt-csv: on
bar-height: 35
day-width: 24

title,start,end
Design Phase,2026-05-01,2026-05-10
"Development &
Refactoring",2026-05-11,2026-05-25

Run command

gantt-csv examples/03_config/project03.csv

Preview*

Gantt Chart Sample


Documentation

For full installation guides and available configurations, please visit our npm registry page: 👉 https://www.npmjs.com/package/gantt-csv

Feedback & Bug Reports

This application is developed as a personal project with limited maintenance time.

While we welcome bug reports to help improve future versions, please understand that we may not be able to implement every feature request or respond immediately. 👉 GitHub Issues

About

Generate Gantt charts in SVG from CSV files.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors