Talk:MediaWiki Developer Summit 2015/Lessons learned

Graphing the survey data
Thanks to Yuri, we have Extension:Graph that can draw graphs of numbers!

For grins, I took the first question's numbers, fiddled around in the editor for the Graph extension's underlying data format Vega until something showed up, and stuck them in a   tag, below. Edit this wiki page to see the markup.

... and the $64,000 question
 * I couldn't figure out how to add legends/markers for the x values ("Very satisfied"... "Neither satisfied nor dissatisfied"...).
 * Rachel's original tables had percentages next to each number (19 - 30%, 40 - 63%, ...), can Vega transforms compute the percentages? I think Vega can show the other number on hover.
 * Should scale the y axis to either 100% or the total number of responses.
 * Maybe a pie chart is better, I couldn't figure that out.
 * Or keep bar chart and there's probably a way to put several questions with the same x values on one chart in different colors.
 * (Dammit Jim, I write doc, I don't read it!)
 * How much of this be automated? Can we just point it directly at the Google Form spreadsheet data, or an exported version, and the Magic Happens™.

How satisfied were you with the schedule in general?
{ "width": 500, "height": 200, "padding": { "top": 10, "left": 30, "bottom": 30, "right": 10 }, "data": [ {     "name": "table", "values": [ {         "x": 1, "y": 19 },       {          "x": 2, "y": 40 },       {          "x": 3, "y": 5 },       {          "x": 4, "y": 0 },       {          "x": 5, "y": 0 }     ]    }  ],  "scales": [ {"name":"x", "type":"ordinal", "range":"width", "domain":{"data":"table", "field":"data.x"}}, {"name":"y", "range":"height", "nice":true, "domain":{"data":"table", "field":"data.y"}} ], "axes": [ {"type":"x", "scale":"x"}, {"type":"y", "scale":"y"} ], "marks": [ {     "type": "rect", "from": {"data":"table"}, "properties": { "enter": { "x": {"scale":"x", "field":"data.x"}, "width": {"scale":"x", "band":true, "offset":-1}, "y": {"scale":"y", "field":"data.y"}, "y2": {"scale":"y", "value":0} },       "update": { "fill": {"value":"steelblue"} }, "hover": { "fill": {"value":"red"} } }   }  ] }

Template test
To save embedding multiple copies of verbose  instructions, this uses a local template (the /Graph subpage). Just give it the title and the 5 counts and you're done!