singleview_6_17_line.vl.json 372 Bytes
Newer Older
Danyel Fisher committed
1 2
{
  "$schema": "https://vega.github.io/schema/vega-lite/v2.json",
3 4
  "config": {"background":"#ffffff"},
  "width": 600,     
Danyel Fisher committed
5 6 7 8
  "data": {"url": "data/complaints.csv", "format": {"type": "csv"}},
  "mark": "line",
  "encoding": {
    "x": {"timeUnit": "yearmonth", "field": "Date received", "type": "temporal"},
9
    "y": {"aggregate": "count", "type": "quantitative"}
Danyel Fisher committed
10 11
  }
}