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

API
{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "data": {
    "url": "https://datagraphics.dc.scilifelab.se/api/dataset/2839da544c424e25916bf43eaa6c6210.csv"
  },
  "width": 450,
  "height": 200,
  "description": "Number of healthcare contacts",
  "encoding": {
    "color": {
      "field": "diagnosis_code",
      "title": "Diagnosis code",
      "type": "nominal",
      "scale": {
        "domain": [
          "Z86.1A",
          "U08.9",
          "U09.9"
        ],
        "range": [
          "#c7c7c7",
          "#8fd7f9",
          "#ef9292"
        ]
      }
    },
    "x": {
      "field": "week",
      "title": "Week",
      "type": "nominal",
      "axis": {
        "labelAngle": 90,
        "labelOverlap": "parity"
      }
    },
    "y": {
      "field": "number_healthcare_contacts",
      "title": "Number of healthcare contacts of patients",
      "type": "quantitative"
    }
  },
  "mark": {
    "point": {
      "filled": true,
      "size": 50
    },
    "tooltip": true,
    "type": "line"
  }
}
Owner: arnold
Modified 2022-01-11T04:01:18.940Z
Created 2021-09-16T08:03:07.105Z

DataGraphics 1.0.4