Contacts with healthcare of people who have diagnoses Z86.1A, U08.9, or U09.9, divided by week

API
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "data": {
    "url": "https://datagraphics.dc.scilifelab.se/api/dataset/2839da544c424e25916bf43eaa6c6210.csv"
  },
  "description": "Number of healthcare contacts",
  "encoding": {
    "color": {
      "field": "diagnosis_code",
      "scale": {
        "domain": [
          "Z86.1A",
          "U08.9",
          "U09.9"
        ],
        "range": [
          "#c7c7c7",
          "#8fd7f9",
          "#ef9292"
        ]
      },
      "title": "Diagnosis code",
      "type": "nominal"
    },
    "x": {
      "field": "week",
      "title": "Week",
      "type": "nominal",
      "axis": {
        "labelOverlap": "parity"
      }
    },
    "y": {
      "field": "number_healthcare_contacts",
      "title": "Number of healthcare contacts of patients",
      "type": "quantitative"
    }
  },
  "height": 250,
  "mark": {
    "point": {
      "filled": true,
      "size": 50
    },
    "tooltip": true,
    "type": "line"
  },
  "width": 600
}
Owner: arnold
Modified 2021-10-15T12:18:23.929Z
Created 2021-07-08T09:27:50.489Z

DataGraphics 1.0.4