Lumenize Example - 2d object id and schedule state
by Trever Shick
HTML
<script src="https://storage.googleapis.com/versions.lumenize.com/v0.6.8/Lumenize-min.js"></script>
<script src="http://maccherone.com/share/1000-snapshots-overlap-with-Feb-2012.json"></script>
// count of snapshots for each schedule state
CoffeeScript
lumenize = require('./lumenize')
dataArray = [
{
"_ValidFrom": "2012-01-20T00:08:26.943Z",
"_ValidTo": "2012-01-21T01:32:47.208Z",
"ObjectID": 4655449709,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:25:10.653Z",
"_ValidTo": "2012-01-20T00:31:22.132Z",
"ObjectID": 5003297332,
"ScheduleState": "Defined"
},
{
"_ValidFrom": "2012-01-20T00:30:57.586Z",
"_ValidTo": "2012-04-18T20:28:41.799Z",
"ObjectID": 5236240164,
"ScheduleState": "Idea"
},
{
"_ValidFrom": "2012-01-20T00:31:22.132Z",
"_ValidTo": "2012-01-20T00:37:08.989Z",
"ObjectID": 5003297332,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:37:08.989Z",
"_ValidTo": "2012-01-20T00:37:21.259Z",
"ObjectID": 5003297332,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:37:21.259Z",
"_ValidTo": "2012-01-20T00:47:36.685Z",
"ObjectID": 5003297332,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:45:22.939Z",
"_ValidTo": "2012-01-20T00:46:29.377Z",
"ObjectID": 4976055895,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:46:29.377Z",
"_ValidTo": "2012-01-20T00:54:04.724Z",
"ObjectID": 4976055895,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:47:36.685Z",
"_ValidTo": "2012-01-20T02:54:50.988Z",
"ObjectID": 5003297332,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:54:04.724Z",
"_ValidTo": "2012-01-20T00:54:11.069Z",
"ObjectID": 4976055895,
"ScheduleState": "In-Progress"
},
{
"_ValidFrom": "2012-01-20T00:54:11.069Z",
"_ValidTo": "2012-01-20T01:30:52.851Z",
"ObjectID": 4976055895,
...