Extension:DataVisualizer

From MediaWiki.org
Jump to navigation Jump to search
shortcut: DV
MediaWiki extensions manual
OOjs UI icon advanced.svg
DataVisualizer
Release status: beta
Implementation Tag
Description Lets you create graph-style visualizations from data in your wiki.
Author(s) Nischay Nahata (Nischayn22talk)
Latest version 0.1 beta (May 2014)
MediaWiki 1.19+
PHP 5.2+
Database changes No
License MIT License
Download
README
Translate the DataVisualizer extension if it is available at translatewiki.net
Check usage and version matrix.

The DataVisualizer extension lets you create graph-style visualizations from data in your wiki. It is also a library that could be used by other extensions like Semantic Results Formats to render visualizations.

Authors[edit]

DataVisualizer was originally written by Nischay Nahata, as WikiWorks consultant.

Installation[edit]

  • Download and place the file(s) in a directory called DataVisualizer in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/DataVisualizer/DataVisualizer.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage[edit]

The extension could be used as a tag or by other extensions to generate visuals

An example usage is

<dv_d3_tree name="Wikimedia Projects" size=5>name=Wikipedia|size=5,name=Wikidata|size=1,name=Wiktionary|size=2</dv_d3_tree>


The graphics will look like:

DataVisualizer example.png