Challenge: wolframalpha plugin to display stats

Fragment of a discussion from Science talk:MER

A very useful application, graph.tk, has API we can use to implement graphs easily using LaTeX. Unlike WolframAlpha, it's open source so we can use it basically how we like.

http://graph.tk/about/api.html

However, this involves iframes, which can be implemented with the iframe widget: http://www.mediawikiwidgets.org/Iframe

Alfred Xing (talk)22:48, 29 November 2012

Good find, looks interesting. I was just pointing to wolframalpha because I know it can be embedded into this wiki (see http://wiki.ubc.ca/Help:Widgets/WolframAlpha and http://products.wolframalpha.com/api/). Either way, is there a toy example on how we could get graph.tk to display anything in the wiki?

Bernhard Konrad (talk)03:18, 30 November 2012

Not until we get the admin to install the iframe module. One thing that's not good about graph.tk is that it can't plot points...

I found a graphing widget, but if it's not good enough we can make our ourselves; it isn't too hard: {{#widget:WolframAlpha|id=45a99effbf17c0286917f132ab9d3595}}

Alfred Xing (talk)02:50, 1 December 2012

Aehm, does your graphing widget plot equations? http://www.wolframalpha.com/widgets/view.jsp?id=45a99effbf17c0286917f132ab9d3595 Next steps: Embed it in the user statistics page, and make it read input from that page. Too bad graph.tk can't do points :(

Bernhard Konrad (talk)00:08, 2 December 2012

Both can plot equations. Integrating the WolframAlpha one will be a bit hard though because the MediaWiki widget doesn't allow other input parameters.

Alfred Xing (talk)04:06, 4 December 2012