Graphic Interactive plot with all municipalities, small logs

API
Timestamp User Remote address User agent Added keys Updated items Removed items
2021-09-15T11:59:31.888Z arnold 10.42.2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/0ac8fa02871745048491de74e5689da9.csv"
    },
    "width": 450,
    "height": 300,
    "transform": [
      {
        "calculate": "datum.gene_copy_number/1000000000000000000",
        "as": "gene_copy_number_div"
      },
      {
        "window": [
          {
            "op": "rank",
            "as": "rank"
          }
        ],
        "sort": [
          {
            "field": "week",
            "order": "descending"
          }
        ]
      },
      {
        "filter": "datum.rank <= 100"
      }
    ],
    "encoding": {
      "x": {
        "field": "week",
        "type": "nominal",
        "title": "Week"
      },
      "y": {
        "field": "relative_copy_number",
        "type": "quantitative",
        "title": "Relative copy number of SARS-CoV-2 to PMMoV, %"
      },
      "color": {
        "condition": {
          "param": "hover",
          "field": "channel",
          "type": "nominal",
          "title": "Municipality"
        },
        "value": "grey"
      },
      "opacity": {
        "condition": {
          "param": "hover",
          "value": 1
        },
        "value": 0.2
      }
    },
    "layer": [
      {
        "description": "transparent layer to make it easier to trigger selection",
        "params": [
          {
            "name": "hover",
            "value": [
              {
                "channel": "Uppsala"
              }
            ],
            "select": {
              "type": "point",
              "fields": [
                "channel"
              ],
              "on": "mouseover"
            }
          }
        ],
        "mark": {
          "type": "line",
          "strokeWidth": 8,
          "stroke": "transparent",
          "tooltip": true,
          "point": {
            "filled": true,
            "size": 80
          }
        }
      },
      {
        "mark": "line"
      }
    ],
    "config": {
      "view": {
        "stroke": null
      }
    }
  }
}
{}
2021-09-15T11:58:24.446Z arnold 10.42.2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
[]
{
  "public": false
}
{}
2021-09-15T11:58:09.510Z arnold 10.42.2.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36
[
  "owner",
  "description",
  "public",
  "error",
  "doctype",
  "title",
  "dataset",
  "specification",
  "created"
]
{}
{}

DataGraphics 1.0.4