The question is quite simple but I don't really know how to do it nor how to format my data.
I just want to make a simple bar chart like this example : http://bl.ocks.org/mbostock/3885304
But instead of having A, B, C, etc on X Axis it'll be days (16/01/2017, 17/01/2017, etc.) and on Z Axis I want a time duration. Max will be 24 hours. I actually have json formatted data for each days with seconds as value.
[
{
"date": "2017-01-08",
"uptime": 40320,
},
{
"date": "2017-01-09",
"uptime": 74460,
},
{
"date": "2017-01-10",
"uptime": 73500,
},
{
"date": "2017-01-11",
"uptime": 83640,
},
{
"date": "2017-01-12",
"uptime": 68520,
}
]
Any hint ?