Vega 2.0 is live at Wikipedia. Looking for expert Vegan volunteers!

202 views
Skip to first unread message

Yuri Astrakhan

unread,
Dec 20, 2015, 2:24:22 PM12/20/15
to vega-js
Some original samples were copied to https://www.mediawiki.org/wiki/Extension:Graph/Demo  (please let me know if there are any license violations).

For wider adaption, we need volunteer Vega developers to create graph templates.  Currently there is a very big divide between Wikipedia authors and those who know how to create Vega graphs.  Most graphs are very rudimentary, like bar charts - I'm sure Vega can do better :)

If you want to contribute a graph/chart/plot/map/etc to Wikipedia, possibly interactive, but don't know how to make it into a template, simply create a page under https://www.mediawiki.org/wiki/Extension:Graph   (append "/YourGraphName" to the url and click create source, add  <graph>{...}</graph> and save).  Send me a message and I will get it cleaned up.   I would also recommend to create a user account so that other users can communicate back with you and thank you.

Thanks!

Jeffrey Heer

unread,
Dec 20, 2015, 6:08:09 PM12/20/15
to Yuri Astrakhan, vega-js
Thanks Yuri! This is very exciting news!

Once we reconvene in the new year, we'll spend some time here at Univ. Washington looking into building some compelling sample visualizations for Wikipedia.

Going forward, adding support for Vega-Lite could simplify chart creation for a range of common statistical graphics. We've been updating the vega-embed library to serve as a single meta-format for Vega and Vega-Lite specifications. That said, support is currently limited to client-side generation.

-jeff


--
You received this message because you are subscribed to the Google Groups "vega-js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vega-js+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Download free Trifacta Wrangler today!

Yuri Astrakhan

unread,
Dec 20, 2015, 9:22:35 PM12/20/15
to vega-js, yastr...@wikimedia.org
Jeff, I think parametrized Vega will be very beneficial to Wikipedia articles going forward, but Vega Lite might not be as useful.

Vega Lite targets a very specific use case - an ability to express a limited subset of graphs with a simplified abstraction, and translate it to the full Vega syntax. Wikipedia already has two similar, user controlled mechanisms - wiki templates and Lua scripting. And instead of the single abstraction, they provide unlimited number of domain specific grammars for all possible graphs.

So any user can design a graph template (see one below) for their own use case, and parameterize it in any way they want. More importantly, that new grammar will be expressed in a way easily understood by all other wiki editors - as a template transclusion with parameters - just like all other template usage. If someone comes up with another graph, they won't need to break the existing template, they can create a new one, with its own set of parameters.

Good quality articles pie chart - https://en.wikipedia.org/wiki/Template:AbQ_Pie
Reply all
Reply to author
Forward
0 new messages