Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/feroult/burnify

Interactive Product Burn-Down Chart
https://github.com/feroult/burnify

Last synced: 29 days ago
JSON representation

Interactive Product Burn-Down Chart

Awesome Lists containing this project

README

        

# Burnify
Interactive Product Burn-Down Chart

## Introduction

**Burnify** is a d3 plugin that creates a highly interactive product burn-down chart to be embedded into any web application.

![](https://github.com/feroult/burnify/blob/master/sample.png)

Open the [live demo](https://rawcdn.githack.com/feroult/burnify/burnify-0.4/test/products.html).

## How it Works

### Import plugin:
```html

(...)


```

### Burnify it:
```javascript
b1 = new Burnify("#product1", products[0], 450, 250);
b1.onSprintBarClick = function(sprintNumber, sprint) { alert('Sprint ' + sprintNumber + ' (done: '+ sprint.done + ')'); };
b1.onFullScopeAreaClick = function(p) { alert('Project ' + p.name + ' full scope area!'); };
b1.onDoneScopeAreaClick = function(p) { alert('Project ' + p.name + ' done scope area!'); };
b1.onOutScopeAreaClick = function(p) { alert('Project ' + p.name + ' out scope area!'); };
b1.draw();
```

### Sample json structure:
```javascript
{
name: 'Burnify',
points: 120,
lastSprint: 13,
mvpSprint: 10,
sprints: [{
done: 10
}, {
done: 10
}, {
done: 10
}, {
done: 6,
added: 52
}, {
done: 8,
added: 12
}, {
done: 8,
added: 2,
removed: 20
}, {
done: 4,
}, {
done: 6,
added: 2
}
]
}
```