-
Notifications
You must be signed in to change notification settings - Fork 0
Data Visualizer FAQ
Subhransu Sekhar edited this page Oct 3, 2013
·
8 revisions
To visualize your data you need to have the dataset ready in csv format. Upload the csv file using Media option of your wordpress site or blog. You need to use shortcode [visualize] in your post or page which makes your chart ready at the page view.
The short code takes the following arguments to generate the visualization
- type => Allowed values: map, barchart, linechart, piechart, radarchart, doughnutchart, polarareachart | required
- file => Allowed values: Fully Qualified URL of the csv file which need to be visualized | required
- theme => Allowed values: blue, red, yellow, dark, green | default value is "blue" used for the color scheme | Optional
- title => Allowed Values: Title of the Visualization you need to show | Optional
Example use of Shortcode: [visualize type='barchart' file='put the url of the csv file here' theme='blue' title='My chart Title']
The csv file need to follow the following guidelines
- First Row of the csv should contain the Label of each column
- First Column should contain the data for x-axis in case of Charts and State/Country name for Map
This plugin uses the following external libraries
- jvectormap https://github.com/bjornd/jvectormap
- chartjs https://github.com/nnnick/Chart.js
You can see the plugin working at http://subhransusekhar.com
You can mail me at subhransu[at]pietaslabs[dot]com or subhransu.sm[at]gmail[dot]com.