Extension:Chartie

Description
MediaWiki extension which allows to add simple line charts to site pages. Based on d3.js, renders image as SVG. There you can see example chart page.

Example
Example of line chart view

Supported file extensions
CSV
 * .csv

As Parser function
or

with parameters:

...

Instead of uploaded filename you also can use an url for file located in external site.

As Parser tag
or

or

You also can use url instead of short filename.

Parameters
Width and height can be set to auto, so size of container will be set according to user screen dimensions.

Type of axis defines available units list, that could be converted to each one. If you want to use your own units, set axis type to general. If you want to no use unit convertation at all, set axis type to no. By default, axis titles and units are automatically sets its value, based on type (as =type name and =first unit in list):

Localizations
For now, extension is also translated to Russian, so you can use localized units name (for example, ‘кг’ instead of ‘kg’). Full list of localizations can be found at i18n dir, they are named to langs.

Configure
All default values can be changed in your file: