{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {
"url": "https://datagraphics.dc.scilifelab.se/api/dataset/dffbdd49d0a84b69804ec977d6b42f70.csv"
},
"width": 600,
"height": 350,
"transform": [
{
"calculate": "datum.gene_copy_number/1000000000000000000",
"as": "gene_copy_number_div"
}
],
"mark": {
"type": "bar"
},
"encoding": {
"x": {
"title": "Week",
"field": "week",
"type": "nominal",
"axis": {
"labelAngle": 90
}
},
"y": {
"title": "Gene copy number with bovine + PMMoV factor (× 10^18)",
"field": "gene_copy_number_div",
"type": "quantitative",
"axis": {
"orient": "right"
}
},
"color": {
"field": "channel",
"type": "nominal",
"scale": {
"range": [
"#8fd7f9"
]
},
"legend": null
},
"tooltip": [
{
"field": "week",
"type": "nominal",
"title": "Week"
},
{
"field": "gene_copy_number_div",
"type": "quantitative",
"title": "Gene copy number with bovine + PMMoV factor (× 10^18)"
}
]
}
}