Plotting RDF data with a Semantic Media Wiki
I was not aware of that earlier, but data you have present in a semantic form in MediaWiki can be plotted using jqplot:

The wiki source for the plot in this screenshot looks like:
{{#ask: [[Category:Measurements]] [[Has Study::{{PAGENAME}}]] [[Has Endpoint::PercentageNonViableCells]]
\| ?Has Endpoint Value
\| format=jqplotbar
\| sort=Has Endpoint Value
\| order=ascending
\| height=250
\| width=600
}}
I am wondering if there is a {{#sparql: equivalent that I can use.