{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"width": 60,
"data": {
"name": "data_url_CPT",
"url": "https://tsws.hkvservices.nl/mangrove.ws/entry.asmx/Call?function=mangrove.gef.GetScans¶meters=%7Bz:9,aggregate:true,files:[%22CPTU39.4%20%2B%2007Kr.gef%22%2C%22CPTU39.4%20%2B%2006BITE.gef%22%2C%22CPTU39.3%20%2B%2056Kr.gef%22%2C%22CPTU39.3%20%2B%2009BITE.gef%22%2C%22CPTU39.3%20%2B%2006Kr.gef%22%2C%22CPTU39.3%20%2B%2005VL.gef%22%2C%22CPTU39.2%20%2B%2056Kr.gef%22]%7D",
"format": {"property": "zSeries"}
},
"transform": [
{"flatten": ["scans"]},
{"filter": "datum.scans.value >= 0"},
{"filter": "datum.scans.z >= -999"}
],
"mark": {"type": "line", "point": true, "interpolate": "cardinal"},
"encoding": {
"y": {
"field": "scans.z",
"type": "quantitative",
"title": "diepte", "sort": "descending"
},
"x": {"field": "scans.value", "type": "quantitative", "title": "waarde"},
"order": {"field": "scans.z", "type": "quantitative"},
"color": {
"field": "scans.parameter",
"type": "nominal",
"legend": {
"columns": 5,
"symbolLimit": 0,
"direction": "horizontal",
"orient": "top"
}
},
"row": {
"field": "scans.parameter",
"type": "nominal",
"title": null,
"header": {"labelOrient": "top", "labelAnchor": "start"}
},
"column": {"field": "header.fileName", "type": "nominal", "title": null},
"tooltip": [
{"field": "scans.z", "type": "quantitative", "title": "diepte"},
{"field": "scans.value", "type": "quantitative", "title": "waarde"},
{"field": "scans.parameter", "type": "nominal", "title": "parameter"},
{"field": "header.fileName", "type": "nominal", "title": "bestand"}
]
},
"resolve": {"scale": {"x": "independent"}}
}