MediaWiki Developer Summit 2015/Lessons learned/Graph

{ "version": 2, "width": 500, "height": 200, "padding": { "top": 10, "left": 30, "bottom": 20, "right": 10 }, "data": [ {     "name": "table", "values": } ],  "scales": [ {"name":"x", "type":"ordinal", "range":"width", "domain":{"data":"table", "field":"x"}}, {"name":"y", "range":"height", "nice":true, "domain":{"data":"table", "field":"y"}} ], "axes": [ {     "type":"x", "scale":"x", "properties": { "majorTicks": {"strokeWidth": {"value": 5}}, "labels": { "fontSize": {"value": 13}, "fill": {"value": "red"}, "angle": {"value": -90}, "align": {"value": "left"}, "baseline": {"value": "middle"}, "dx": {"value": 16} }}},   {"type":"y", "scale":"y"} ], "marks": [ {     "type": "rect", "from": {"data":"table"}, "properties": { "enter": { "x": {"scale":"x", "field":"x"}, "width": {"scale":"x", "band":true, "offset":-1}, "y": {"scale":"y", "field":"y"}, "y2": {"scale":"y", "value":0} },       "update": { "fill": {"value":"steelblue"} }, "hover": { "fill": {"value":"red"} } }   }  ] }