Extension:Semantic Result Formats/ploticus format

The ploticus format, part of the Semantic Result Formats extension, creates various plots, charts, and graphics based on property values, using the Ploticus Data Display Engine. This format is currently disabled, due to a security hole.

Example 1 (Simple)
This query will display a rudimentary PNG bar chart showing the population of each German City.

Taking it further:

Example 2 (Imagemap-enabled)
Building on Example 1, this query adds a title, with each bar labeled with its assigned value, and imagemap support (i.e. clicking on a bar opens the associated wiki article in a new window).

Taking it further still:

Example 3 (The Works!)
In addition to what we added in Example 2, we now have a 400x600 SVG bar chart, auto-width bar sizing, labels oriented vertically, blue bars, using the more eye-pleasing FreeSans TTF font instead of "jagged" ploticus built-in fonts.

It also exposes several action icons - one to download the query result used to create the chart in CSV format, another to open the image in a new window, and the last one to refresh the whole page. A timestamp is also displayed since SRF-Ploticus uses a cache that will redraw plots only if the query result set has changed.

And using Ploticus' scripting facilities, the user can go even further and apply some simple data processing before rendering the chart (e.g. create computed values, compute totals, compute percents, do pivots, count instances, etc.)

The exhaustive README details all the available SRF-Ploticus parameters.