NPC test statistics, cumulative

API
Dataset
NPC statistics data set 2020-12-22T10:06:26.847Z
Other graphics for same dataset
{
  "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
  "data": {
    "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv"
  },
  "width": 800,
  "height": 250,
  "transform": [
    {
      "sort": [
        {
          "field": "date"
        }
      ],
      "window": [
        {
          "op": "sum",
          "field": "count",
          "as": "cumulative_count"
        }
      ],
      "frame": [
        null,
        0
      ]
    }
  ],
  "mark": {
    "type": "line",
    "point": {
      "filled": false,
      "fill": "white"
    },
    "tooltip": true
  },
  "encoding": {
    "x": {
      "field": "date",
      "type": "temporal",
      "timeUnit": "yearmonthdate",
      "title": "Date",
      "axis": {
        "format": "%Y-%m-%d"
      }
    },
    "y": {
      "field": "cumulative_count",
      "type": "quantitative",
      "title": "Cumulative number of tests"
    }
  }
}
Owner: npc
Modified 2020-11-08T18:12:14.952Z
Created 2020-06-05T15:36:19.616Z

DataGraphics 0.14.3