station,trips A,5 B,7 A,1 --- {"q": "trips per station", "gold": {"mark": "bar", "encoding": {"x": {"field": "station", "type": "nominal"}, "y": {"field": "trips", "type": "quantitative", "aggregate": "sum"}}}, "pred": {"mark": "bar", "encoding": {"x": {"field": "station", "type": "nominal"}, "y": {"field": "trips", "type": "quantitative", "aggregate": "mean"}}}} {"q": "stations", "gold": {"mark": "bar", "encoding": {"x": {"field": "station", "type": "nominal"}, "y": {"type": "quantitative", "aggregate": "count"}}}, "pred": {"mark": "bar", "encoding": {"x": {"field": "Station", "type": "nominal"}, "y": {"type": "quantitative", "aggregate": "count"}}}}