Graphic NPC test statistics, daily fraction positive logs

API
Timestamp User Remote address User agent Added keys Updated items Removed items
2020-11-08T18:14:34.554Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "orient": "right",
          "format": ".1%",
          "title": "Fraction positive"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "positive"
          ],
          "range": [
            "#ef9292"
          ]
        },
        "legend": null
      }
    }
  }
}
{}
2020-09-18T10:02:08.675Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "orient": "right",
          "format": "%",
          "title": "Fraction positive"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "positive"
          ],
          "range": [
            "#ef9292"
          ]
        },
        "legend": null
      }
    }
  }
}
{}
2020-07-07T06:44:40.027Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "owner": "admin"
}
{}
2020-07-06T07:26:08.835Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "title": "NPC test statistics, daily positive fraction"
}
{}
2020-07-06T07:25:50.499Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "title": "Daily fraction positive test results",
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "orient": "right",
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "positive"
          ],
          "range": [
            "#ef9292"
          ]
        },
        "legend": null
      }
    }
  }
}
{}
2020-07-06T07:24:51.059Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "public": false
}
{}
2020-07-06T07:24:36.493Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "title": "Daily fraction positive test results",
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "orient": "right",
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f940",
            "#ef9292"
          ]
        },
        "legend": null
      }
    }
  }
}
{}
2020-07-06T07:23:45.093Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "title": "Daily fraction positive test results",
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "orient": "right",
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f940",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-06T07:23:03.885Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "title": "Daily fraction positive test results",
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f940",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-06T07:19:48.600Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f940",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-06T07:19:03.460Z admin 10.42.2.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "title": "Copy of NPC test statistics, daily fractions"
}
{}
2020-07-05T09:56:14.117Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f910",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:56:03.040Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f988",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:55:50.804Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f900",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:55:12.081Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "error": "None is not of type 'number'\n\nFailed validating 'type' in schema[0]:\n    {'type': 'number'}\n\nOn instance:\n    None",
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            null,
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:52:40.640Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "error": null,
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 100,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:06:59.093Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 150,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.3
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:06:00.117Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 150,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true,
      "clip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.5
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:05:35.318Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 150,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            0.5
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:05:02.163Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 150,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "scale": {
          "domain": [
            0,
            20
          ]
        },
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:04:30.228Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[]
{
  "specification": {
    "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
    "data": {
      "url": "https://datagraphics.dckube.scilifelab.se/api/dataset/bbbaf64a25a1452287a8630503f07418.csv",
      "format": {
        "type": "csv"
      }
    },
    "width": 800,
    "height": 150,
    "transform": [
      {
        "filter": "datum.class!='invalid/inconclusive'"
      },
      {
        "calculate": "datum.count",
        "as": "counts"
      }
    ],
    "mark": {
      "type": "bar",
      "tooltip": true
    },
    "encoding": {
      "x": {
        "field": "date",
        "type": "temporal",
        "title": "Date",
        "axis": {
          "format": "%Y-%m-%d"
        }
      },
      "y": {
        "aggregate": "sum",
        "field": "counts",
        "type": "quantitative",
        "stack": "normalize",
        "title": "Fraction of tests",
        "axis": {
          "format": "%"
        }
      },
      "color": {
        "field": "class",
        "type": "nominal",
        "scale": {
          "domain": [
            "negative",
            "positive"
          ],
          "range": [
            "#8fd7f9",
            "#ef9292"
          ]
        },
        "legend": {
          "title": "Test results"
        }
      }
    }
  }
}
{}
2020-07-05T09:01:37.158Z admin 10.42.3.0 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
[
  "description",
  "owner",
  "title",
  "public",
  "dataset",
  "doctype",
  "error",
  "created",
  "specification"
]
{}
{}

DataGraphics 1.0.4