# react-d3gantt

> A React and D3 Plugin to render Gantt Chart.

Latest version **1.0.4** (published 2019-01-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-d3gantt
pnpm add react-d3gantt
yarn add react-d3gantt
bun add react-d3gantt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2019-01-11 |
| First published | 2018-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 264.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Satheesh Valluru |
| Maintainers | satheeshsmart |

## Links

- npm: https://www.npmjs.com/package/react-d3gantt
- Repository: https://github.com/sateesh2020/react-gantt
- Homepage: https://github.com/sateesh2020/react-gantt#readme
- Issues: https://github.com/sateesh2020/react-gantt/issues
- npm.io page: https://npm.io/package/react-d3gantt

## Dependencies (4)

- [d3](https://npm.io/package/d3.md) ^5.1.0
- [react](https://npm.io/package/react.md) ^16.0.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [react-dom](https://npm.io/package/react-dom.md) ^16.0.1

## Recent versions

- 1.0.4 (latest) — 2019-01-11
- 1.0.3 — 2019-01-11
- 1.0.2 — 2018-05-31
- 1.0.1 — 2018-05-15
- 1.0.0 — 2018-05-15

## README

# React Gantt

A React and D3 Plugin to render Gantt Chart.

## How to use

```js

import { GanttChart } from "react-d3gantt";

const chartDate = [
  .....
]

  <GanttChart chartData={chartDate} />

```

## Sample Data 

```sh
[
  {
    id: "999e8ab",
    versionNumber: 1.0,
    startDate: new Date("2018-02-28"),
    endDate: new Date("2018-04-26"),
    taskName: "IOS Development",
    description: "Sprint 5",
    color: "#BA68C8",
    percentageCompleted: 80.0,
  },
  {
    id: "16c0013",
    versionNumber: 0.95,
    startDate: new Date("2018-01-31"),
    endDate: new Date("2018-02-27"),
    taskName: "IOS Development",
    description: "Sprint 6",
    color: "#BA68C8",
    percentageCompleted: 100.0,
    
  },
  {
    id: "4a16c13",
    versionNumber: 0.95,
    startDate: new Date("2018-01-31"),
    endDate: new Date("2018-02-27"),
    taskName: "Android Development",
    description: "Sprint 6",
    color: "#BA68C8",
    percentageCompleted: 100.0,
  }
]

```

### Mandatory Keys in every JSON object

* versionNumber
* startDate
* endDate
* taskName
* description
* color
* percentageCompleted


### Features

* Multicolor supportby providing through color key.
* Milestone representation based on the versioning.
* Bar fill based on the percentage completed.

### Dependencies

* D3
* React 
* React DOM

### Install

```
  npm install react-d3gantt
  
```

---
_Source: https://npm.io/package/react-d3gantt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
