How To Add Charts And Graphs To WordPress

You’re probably familiar with the saying “a picture is worth a thousand words.” This is certainly true when you are presenting or explaining complex data.
Charts and graphs help to make data more easily digestible.
You can present data with tables, but if you want people to try and interpret complex information with numbers, percentages and relationships more easily, then charts and graphs are perfect for helping them interpret your data.

Graphs and charts help explain complex information so people can more easily interpret it!
If you want to present information visually and dynamically on your WordPress site like charts and graphs, this step-by-step tutorial will show you exactly how to create and add great-looking and interactive charts and graphs to WordPress that:
- Your visitors can engage with
- Lets you add data from your hard drive or an online data source
- Dynamically resizes for mobile screens

![]()
If you plan to display visual data like bar charts, comparison charts or trending graphs containing information that is not going to change (e.g. historical data), a simple method you can use to display this information is to create your graphs or charts using an image editing application, convert these into jpg and png images and then simply add your image files to your pages or posts.
Use WordPress Chart & Graph Plugins
If you want to easily embed interactive bars and graphs into your WordPress posts and pages with no coding skills required, the easiest way to do this is to use a plugin.
Fortunately, there is a great free plugin for WordPress users that is simple to install, easy-to-use and allows you to not only create eye-catching and interactive graphs and charts, it also lets you populate your charts and graphs with dynamic data.
Visualizer Plugin For WordPress

Visualizer URL
You can install the plugin inside your WordPress dashboard (explained a little further down the page), or download the Visualizer plugin the WordPress plugin directory using the link below:
http://wordpress.org/plugins/visualizer
Visualizer Description
Visualizer is an easy-to-use and powerful tool that allows you to create, manage and embed appealing graphs into your WordPress posts and pages in a few simple steps.
The plugin uses Google Visualization API to render charts, which support cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases, and are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no additional add-ons are needed.
WordPress Visualizer also provides a variety of charts optimized for your data visualization needs, including:
- Line chart
- Area chart
- Bar chart
- Column chart
- Pie chart
- Geo chart
- Gauge chart
- Candlestick chart
- Scatter chart
The plugin is also flexible and customizable, allowing you to use Google Chart Tools with their default setting, or configure an extensive set of options to match your web design. Various options are available for each chart that let you customize their settings.
Additionally, charts are rendered using HTML5/SVG technology to provide cross-browser compatibility (including VML for older IE versions) and cross-platform portability to iPhones, iPads and Android devices. Your web visitors can see your charts and graphs on their mobile device browsers without requiring the installation of additional software.
How To Install Visualizer
From your WordPress dashboard, select Plugins > Add New from the dashboard menu …

In the Add Plugins screen type “visualizer” into the search field and click enter …

Locate the entry in the search results section and click Install Now …

Click OK to continue …

Activate the plugin after installation is successful …

You can also activate the plugin in the Plugins page …

After your plugin has been activated, click on Library …

You can get to the plugin’s ‘library’ screen by selecting Media > Visualizer Library in your dashboard menu …

This takes you to the plugin’s Visualizer Library screen …

When you first install the plugin, this section will be empty.
The next step is to add the charts and graphs to your library that you plan to display in your posts and pages.
Plugin Configuration
To add a new graph or chart to the Visualizer library, click on the Add New button …

You will be presented with all of the types of graphs and charts available.
Select the type of graph or chart you would like to create and click on the ‘Next’ button …

The selected graph/chart type will pop up in a new window.
The next step is to upload a CSV file with all the data you would like your chart or graph to be populated with …

![]()
When creating your CSV data file, ensure that:
- Your first row contains the column headings.
- The second row includes the series type (e.g. number, timeofday, etc.)
The screenshot below shows how to format your data as per the above requirements …

If you are not sure how to format your CSV file, just download the sample CSV file supplied with the plugin.
Once you have completed this step, select the data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.
Upload CSV File From Computer
To upload your CSV file and data from your computer select ‘From Computer‘ …

Locate and select your data file and then click on ‘Open‘ …

The plugin imports your data and displays it using the graph/chart type you have selected …

Upload CSV File From The Web

![]()
For a step-by-step tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:
After importing the data, make sure that all of your information is correct (if not, click on the ‘Back’ button and reupload a new data file with the correct data), and then click ‘Next‘ …

Depending on the chart or graph type selected, the plugin displays various customization settings …

Visualizer gives you complete control of your chart or graph, and updates your display in real time …

For example, the pie chart offers various configurable options, such as:
- General Settings – Configure settings for the chart’s title, font styles, tooltip, and legend.
- Pie Settings – Create 3D pie charts, draw slices counterclockwise, set the text content displayed on the slice, create a “donut” pie chart, rotate the chart’s “start” angle and set the slice border color.
- Residue Settings – Set the ‘Visibility Threshold’ (the slice relative part, below which a slice will not show individually.), ‘Residual Slice Label’ (the label for the combination slice that holds all slices below slice visibility threshold, e.g. “Other”), and ‘Residue Slice Color’.
- Slice Settings – Customize the ‘Slice Offset’ (how far to separate a slice from the rest of the pie), and ‘Slice Color’.
- Layout & Chart Area – Configure the layout (total size of chart) including the width and height of the chart as a number of percentage, background color for the main area of the chart and the chart border width and color, and the placement and size of the chart area (where the chart itself is drawn, excluding axis and legends).

Once you are satisfied with the look of your chart or graph, click on the ‘Create Chart’ button …

Your chart or graph will be added to your Visualizer ‘Library’ …

Note that new elements are given a unique ID displayed in a shortcode. As you will see very soon, this allows you to add graphs and charts to your posts and pages easily …

Graphs and charts added to the Visualizer Library can easily be accessed by their type …

After adding a new graph or chart to the ‘Visualizer Library’, you can edit it, clone it, or trash it …

Plugin Usage
After creating a new chart or graph and adding it to the Visualizer Library, adding it to posts and pages is very simple.
First, create a new post or page (or open an existing one) …

Next, place your mouse cursor where you would like to insert your visual element into your content and click on Add Media …

Click on ‘Visualizations‘ …

Find the chart or graph to be inserted into your content and click the “insert” icon …

This adds a shortcode for the element into your content …

Once you have finished adding the visual element, click on Publish to publish (or update) your content …

Once your post has been published, click ‘View post’ to see the results …

You will see your chart or graph in the content …

As mentioned previously, the plugin also displays responsive charts for mobile devices …

As you can see, the Visualizer plugin allows you to add and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This is one of the great benefits of using the Visualizer plugin if you’re adding dynamic graph data in WordPress.
![]()
The developers of this plugin have created a number of tutorials you can use to learn how to edit, customize and use WordPress Visualizer.
For tutorials on editing, cloning, deleting and adding data to your charts, refer to the site below:
Congratulations! Now you know how to easily add beautiful and mobile-responsive charts and graphs to WordPress with WordPress Visualizer plugin.
***
"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum
***