{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"url": "https://datagraphics.dc.scilifelab.se/api/dataset/eb5611d31c7b48f4902f063038cdc078.csv"
},
"width": 600,
"height": 200,
"mark": {
"type": "bar"
},
"encoding": {
"x": {
"title": "Week",
"field": "week",
"type": "nominal",
"axis": {
"labelAngle": 90
}
},
"y": {
"title": "SARS CoV-2 % relative to value Nov 6th 2020",
"field": "relative_concentration",
"type": "quantitative",
"axis": {
"orient": "right"
}
},
"color": {
"field": "facility",
"type": "nominal",
"scale": {
"range": [
"#8fd7f9"
]
},
"legend": null
},
"tooltip": [
{
"field": "week",
"type": "nominal",
"title": "Week"
},
{
"field": "facility",
"type": "nominal",
"title": "Wastewater treatment facility"
},
{
"field": "relative_concentration",
"type": "quantitative",
"title": "SARS CoV-2 % relative to value Nov 6th 2020"
}
]
}
}