singleview_2a-multi-histogram.vl.json 454 Bytes
Newer Older
Danyel Fisher committed
1 2 3 4 5 6 7
{
  "$schema": "https://vega.github.io/schema/vega-lite/v2.json",
  "config": {"background":"#ffffff"},   
  "data": { "url": "data/cars.csv" },
  "mark": "bar",
  "encoding": {
    "x": {"bin": true, "field": "curb-weight", "type": "quantitative", "axis": {"title": "Curb Weight"}},
8
    "y": { "aggregate": "count", "type": "quantitative", "stack": null},
Danyel Fisher committed
9 10 11
    "column": {"field": "body-style", "type": "nominal", "header": {"title": "Body Style"}}
  }
}