singleview_6_17_line.vl.json 407 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
  "data": {"url": "data/complaints.csv", "format": {"type": "csv"}},
  "mark": "line",
  "encoding": {
8
    "x": {"timeUnit": "yearmonth", "field": "Date received", "type": "temporal", "axis":{"title": "Date Received"}},
9
    "y": {"aggregate": "count", "type": "quantitative"}
Danyel Fisher committed
10 11
  }
}