Dataset does not exist, or view access to it is not allowed.
{ "$schema": "https://vega.github.io/schema/vega-lite/v5.json", "config": { "view": { "stroke": null } }, "data": { "url": "https://datagraphics.dc.scilifelab.se/api/dataset/511f411697364e5a9be8889a45c3129c.csv" }, "encoding": { "color": { "condition": { "field": "wwtp", "param": "hover", "title": "Wastewater treatment plant", "type": "nominal" }, "value": "grey" }, "opacity": { "condition": { "param": "hover", "value": 1 }, "value": 0.2 }, "x": { "field": "week", "title": "Week", "type": "nominal" }, "y": { "field": "value", "title": "Relative copy number of SARS-CoV-2 to PMMoV", "type": "quantitative" } }, "height": 250, "layer": [ { "description": "transparent layer to make it easier to trigger selection", "mark": { "point": { "filled": true, "size": 80 }, "stroke": "transparent", "strokeWidth": 8, "tooltip": true, "type": "line" }, "params": [ { "name": "hover", "select": { "fields": [ "wwtp" ], "on": "mouseover", "type": "point" }, "value": [ { "wwtp": "Bromma WWTP, Järva Inlet" } ] } ] }, { "mark": "line" } ], "transform": [ { "sort": [ { "field": "week", "order": "descending" } ], "window": [ { "as": "rank", "op": "rank" } ] }, { "filter": "datum.rank <= 80" } ], "width": 450 }