{
"$schema": "https://vega.github.io/schema/vega-lite/v2.json",
"data": {
"url":"http://www.oms-waddenzee.nl/oms.ws/data/tmpcka1n7b0.json"
},
"mark": "rect",
"encoding": {
"column": {
"field": "date",
"type": "temporal"
},
"row": {
"field": "stationName",
"type": "nominal"
},
"color": {
"field":"value",
"type": "quantitative",
"scale": {
"domain": [0,0.01,100,200,350,1000,3000],
"range": ["white","#F0F8FF","cornflowerblue","mediumseagreen","#FFEE00","darkorange","firebrick"]
},
"legend": {
"title": "legend label",
"values": [
0,
1000,
2000,
3000
]
}
}
}
}