{
"config": {"view": {"width": 400, "height": 300}},
"layer": [
{
"data": {"name": "basis_data"},
"mark": "line",
"encoding": {
"color": {
"type": "nominal",
"field": "Waterstand",
"scale": {"scheme": "viridis"},
"title": "Waterstand [mNAP]"
},
"tooltip": [{"type": "nominal", "field": "Waterstand"}],
"x": {
"type": "quantitative",
"field": "Rijnafvoer",
"scale": {"zero": false},
"title": "Rijnafvoer [m3/s]"
},
"y": {
"type": "quantitative",
"field": "Zeewaterstand",
"scale": {"zero": false},
"title": "Zeewaterstand [mNAP]"
}
},
"selection": {
"STATUS": {
"type": "single",
"init": {"status": "open"},
"fields": ["status"],
"bind": {"input": "select", "options": ["open", "dicht"]},
"on": "click",
"resolve": "global",
"empty": "all"
}
},
"transform": [{"filter": {"selection": "STATUS"}}]
},
{
"data": {"name": "point_select"},
"mark": {"type":"point","filled": true},
"encoding": {
"x": {
"type": "quantitative",
"field": "Rijnafvoer"
},
"y": {
"type": "quantitative",
"field": "Zeewaterstand"
},
"size": {
"value": 50
},
"color": {
"value": "red"
}
}
}
],
"$schema": "https://vega.github.io/schema/vega-lite/v2.6.0.json",
"datasets": {
"point_select": [{"Zeewaterstand": 4, "Rijnafvoer": 6181.8}],
"basis_data": [
{
"Waterstand": 1,
"Rijnafvoer": 6181.8,
"Zeewaterstand": 1.16,
"status": "dicht"
},
{
"Waterstand": 1,
"Rijnafvoer": 6000,
"Zeewaterstand": 1.18,
"status": "dicht"
},
{
"Waterstand": 1,
"Rijnafvoer": 4000,
"Zeewaterstand": 1.41,
"status": "dicht"
},
{
"Waterstand": 1,
"Rijnafvoer": 2000,
"Zeewaterstand": 1.51,
"status": "dicht"
},
{
"Waterstand": 1,
"Rijnafvoer": 600,
"Zeewaterstand": 1.77,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 12447.1,
"Zeewaterstand": 1.16,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 1.51,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 1.69,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 1.82,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 4000,
"Zeewaterstand": 2.03,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 3784.3,
"Zeewaterstand": 2.04,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 2000,
"Zeewaterstand": 2.16,
"status": "dicht"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 600,
"Zeewaterstand": 2.43,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 600,
"Zeewaterstand": 6,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 1963,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 2000,
"Zeewaterstand": 5.01,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 2859.3,
"Zeewaterstand": 4.04,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 4000,
"Zeewaterstand": 2.86,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 6000,
"Zeewaterstand": 2.47,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 8000,
"Zeewaterstand": 2.33,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 10000,
"Zeewaterstand": 2.23,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 11304.3,
"Zeewaterstand": 2.04,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 13000,
"Zeewaterstand": 1.78,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 16000,
"Zeewaterstand": 1.45,
"status": "dicht"
},
{
"Waterstand": 2,
"Rijnafvoer": 18000,
"Zeewaterstand": 1.26,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 4683.9,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 5157.3,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 5799.3,
"Zeewaterstand": 4.04,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 3.73,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 6673.3,
"Zeewaterstand": 3.04,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 2.89,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 2.92,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 2.48,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 2.14,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 17050.4,
"Zeewaterstand": 2.04,
"status": "dicht"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 1.95,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 7936.7,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 8000,
"Zeewaterstand": 5.85,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 8196.7,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 9480.1,
"Zeewaterstand": 4.04,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 10000,
"Zeewaterstand": 3.83,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 13000,
"Zeewaterstand": 3.16,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 14326.2,
"Zeewaterstand": 3.04,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 16000,
"Zeewaterstand": 2.86,
"status": "dicht"
},
{
"Waterstand": 3,
"Rijnafvoer": 18000,
"Zeewaterstand": 2.67,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 9352.8,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 5.06,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 10021.2,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 11781.7,
"Zeewaterstand": 4.04,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 3.73,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 3.4,
"status": "dicht"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 3.29,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 11045.7,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 12142.9,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 13000,
"Zeewaterstand": 4.58,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 14828.1,
"Zeewaterstand": 4.04,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 16000,
"Zeewaterstand": 3.89,
"status": "dicht"
},
{
"Waterstand": 4,
"Rijnafvoer": 18000,
"Zeewaterstand": 3.78,
"status": "dicht"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 13004.7,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 14686.8,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 4.64,
"status": "dicht"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 4.35,
"status": "dicht"
},
{
"Waterstand": 5,
"Rijnafvoer": 15341.1,
"Zeewaterstand": 6.04,
"status": "dicht"
},
{
"Waterstand": 5,
"Rijnafvoer": 16000,
"Zeewaterstand": 5.7,
"status": "dicht"
},
{
"Waterstand": 5,
"Rijnafvoer": 17942,
"Zeewaterstand": 5.04,
"status": "dicht"
},
{
"Waterstand": 5,
"Rijnafvoer": 18000,
"Zeewaterstand": 5.03,
"status": "dicht"
},
{
"Waterstand": 1,
"Rijnafvoer": 6181.8,
"Zeewaterstand": 1.16,
"status": "open"
},
{
"Waterstand": 1,
"Rijnafvoer": 6000,
"Zeewaterstand": 1.18,
"status": "open"
},
{
"Waterstand": 1,
"Rijnafvoer": 4000,
"Zeewaterstand": 1.41,
"status": "open"
},
{
"Waterstand": 1,
"Rijnafvoer": 2000,
"Zeewaterstand": 1.51,
"status": "open"
},
{
"Waterstand": 1,
"Rijnafvoer": 600,
"Zeewaterstand": 1.77,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 12447.1,
"Zeewaterstand": 1.16,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 1.48,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 1.62,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 1.82,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 4000,
"Zeewaterstand": 2.03,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 3784.3,
"Zeewaterstand": 2.04,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 2000,
"Zeewaterstand": 2.16,
"status": "open"
},
{
"Waterstand": 1.5,
"Rijnafvoer": 600,
"Zeewaterstand": 2.43,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 600,
"Zeewaterstand": 3.14,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 927,
"Zeewaterstand": 3.04,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 2000,
"Zeewaterstand": 2.8,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 4000,
"Zeewaterstand": 2.6,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 6000,
"Zeewaterstand": 2.41,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 8000,
"Zeewaterstand": 2.23,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 10000,
"Zeewaterstand": 2.12,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 10734.7,
"Zeewaterstand": 2.04,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 13000,
"Zeewaterstand": 1.75,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 16000,
"Zeewaterstand": 1.43,
"status": "open"
},
{
"Waterstand": 2,
"Rijnafvoer": 18000,
"Zeewaterstand": 1.26,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 600,
"Zeewaterstand": 4.02,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 2000,
"Zeewaterstand": 3.54,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 4000,
"Zeewaterstand": 3.19,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 5373.5,
"Zeewaterstand": 3.04,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 2.98,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 2.79,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 2.66,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 2.36,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 2.08,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 16691.6,
"Zeewaterstand": 2.04,
"status": "open"
},
{
"Waterstand": 2.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 1.94,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 600,
"Zeewaterstand": 4.78,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 2000,
"Zeewaterstand": 4.31,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 3114.5,
"Zeewaterstand": 4.04,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 4000,
"Zeewaterstand": 3.85,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 6000,
"Zeewaterstand": 3.53,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 8000,
"Zeewaterstand": 3.29,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 10000,
"Zeewaterstand": 3.17,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 11953.8,
"Zeewaterstand": 3.04,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 13000,
"Zeewaterstand": 2.94,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 16000,
"Zeewaterstand": 2.63,
"status": "open"
},
{
"Waterstand": 3,
"Rijnafvoer": 18000,
"Zeewaterstand": 2.48,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 600,
"Zeewaterstand": 5.6,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 1974.5,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 2000,
"Zeewaterstand": 5.03,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 4000,
"Zeewaterstand": 4.51,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 4.07,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 6155.3,
"Zeewaterstand": 4.04,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 3.76,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 3.6,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 3.4,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 3.15,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 17529.4,
"Zeewaterstand": 3.04,
"status": "open"
},
{
"Waterstand": 3.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 3,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 1618.6,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 2000,
"Zeewaterstand": 5.88,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 4000,
"Zeewaterstand": 5.21,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 4495.3,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 6000,
"Zeewaterstand": 4.66,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 8000,
"Zeewaterstand": 4.26,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 9796.5,
"Zeewaterstand": 4.04,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 10000,
"Zeewaterstand": 4.02,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 13000,
"Zeewaterstand": 3.84,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 16000,
"Zeewaterstand": 3.6,
"status": "open"
},
{
"Waterstand": 4,
"Rijnafvoer": 18000,
"Zeewaterstand": 3.45,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 3985.4,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 4000,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 6000,
"Zeewaterstand": 5.32,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 6849.6,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 8000,
"Zeewaterstand": 4.78,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 4.49,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 4.25,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 15977.4,
"Zeewaterstand": 4.04,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 4.04,
"status": "open"
},
{
"Waterstand": 4.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 3.89,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 6170.8,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 8000,
"Zeewaterstand": 5.43,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 9519.1,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 10000,
"Zeewaterstand": 4.96,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 13000,
"Zeewaterstand": 4.64,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 16000,
"Zeewaterstand": 4.4,
"status": "open"
},
{
"Waterstand": 5,
"Rijnafvoer": 18000,
"Zeewaterstand": 4.29,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 8547.1,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 10000,
"Zeewaterstand": 5.67,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 13000,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 4.76,
"status": "open"
},
{
"Waterstand": 5.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 4.66,
"status": "open"
},
{
"Waterstand": 6,
"Rijnafvoer": 11434.8,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 6,
"Rijnafvoer": 13000,
"Zeewaterstand": 5.68,
"status": "open"
},
{
"Waterstand": 6,
"Rijnafvoer": 16000,
"Zeewaterstand": 5.18,
"status": "open"
},
{
"Waterstand": 6,
"Rijnafvoer": 17727.3,
"Zeewaterstand": 5.04,
"status": "open"
},
{
"Waterstand": 6,
"Rijnafvoer": 18000,
"Zeewaterstand": 5.03,
"status": "open"
},
{
"Waterstand": 6.5,
"Rijnafvoer": 14675.8,
"Zeewaterstand": 6.04,
"status": "open"
},
{
"Waterstand": 6.5,
"Rijnafvoer": 16000,
"Zeewaterstand": 5.82,
"status": "open"
},
{
"Waterstand": 6.5,
"Rijnafvoer": 18000,
"Zeewaterstand": 5.62,
"status": "open"
}
]
}
}