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.dckube.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": {
        "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 2021-09-16T08:03:10.165Z
Created 2021-09-16T08:03:07.105Z

DataGraphics version 0.10.2