How To Add Charts And Graphs To WordPress

You’re probably familiar with the old adage “a picture is worth a thousand words.” This certainly applies when you are trying to present or explain complex data.
Graphs and charts help to make data a lot easier to understand.
You can present data using tables, but if you want people to try and interpret complex data with numbers, percentages or relationships quickly, then graphs and charts are perfect for helping them visualize your data.

Charts and graphs help you present complex data so your audience can more easily understand it!
Need to add charts and graphs to WordPress? This tutorial shows you how to use WordPress Visualizer – an easy-to-use and powerful WordPress plugin that lets you create, manage and insert great-looking charts and graphs into your WordPress posts and pages that:
- Your visitors can engage with
- Lets you add data from your hard drive or a web-based source of data
- Resizes dynamically for mobile users

![]()
If you are displaying visual data like pie charts, comparison charts or trending graphs which contain information that is not going to change (e.g. historical data), a simple method you can use is to create the charts or graphs using a desktop application, convert these into images and then simply insert your files and an image into your post or page.
Use WordPress Chart & Graph Plugins
If you want to easily insert dynamic bars and graphs into WordPress with no coding skills required, the easiest way to do this is to use a plugin.
Fortunately, there is a plugin for WordPress that is simple to install, easy-to-use and allows you to not only create attractive and dynamic charts and graphs, it also lets you populate your charts and graphs with updatable information.
Visualizer – WP Plugin

Visualizer Plugin URL
You can install the plugin inside your WP dashboard (see a little further down the page), or access and download Visualizer from the link below:
http://wordpress.org/plugins/visualizer
Plugin Description
WP Visualizer is a simple, easy to use and powerful plugin for WordPress that lets you create, manage and embed stunning and interactive charts and graphs into your WordPress posts and pages in a few simple steps.
WordPress Visualizer 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 extra components are needed.
The plugin also comes with a variety of charts that are optimized to address your data visualization needs, including:
- Line chart
- Area chart
- Bar chart
- Column chart
- Pie chart
- Geo chart
- Gauge chart
- Candlestick chart
- Scatter chart
Visualizer is a flexible and customizable plugin, allowing you to use Google Chart Tools with their default setting, or configure an extensive set of options to match your web design. Several options are available for each chart that allow you to fully customize their look and feel.
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 visitors can see your charts and graphs on their mobile device browsers without having to install any additional software.
How To Install WP Visualizer
From your WP administration area, select Plugins > Add New from the dashboard menu …

In the Add Plugins page type in search for “visualizer” and hit enter …

Locate the entry in the search results screen and click the “Install Now” button …

Click OK to continue …

Activate the plugin after installing it …

You can also activate the plugin in the Plugins section …

Once the plugin has been activated, click on Library …

You can also 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 settings …

After installing the plugin, the library will contain no charts.
Your next step is to add the charts and graphs to your library that you plan to publish to your content.
How To Configure Visualizer
To add a chart or graph to the library, click on the ‘Add New’ button …

A visual gallery displaying all the different types of graphs available will come up on your screen.
Select the graph or chart type you would like to create and click on the ‘Next’ button …

The graph/chart type will pop up in a lightbox.
The next step is to upload a CSV file with your data …

![]()
When creating your CSV data file, make sure that:
- Your first row contains the column headings.
- Your second row includes the series type (e.g. boolean, date, etc.)
The screenshot below shows how to format your data correctly …

If you are not sure how to format your data CSV, simply study the sample spreadsheet provided with the plugin.
Once you have created your CSV file, 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 from your hard drive select ‘From Computer‘ …

Use the browser to locate and select your data file and then click on ‘Open‘ …

The plugin will import the data and display it using the graph/chart type chosen …

Upload CSV File From The Web

![]()
For a 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, check that all of your information is correct (if not, click on the ‘Back’ button and reupload a new data file containing the correct data), and click ‘Next‘ …

Depending on the chart or graph type you’ve selected, the plugin displays a number of customization options …

The WordPress Visualizer plugin gives you complete control of your information, and updates your display in real time …

For example, the pie chart offers various configurable options, such as:
- General Settings – Configure chart title settings, 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 Create Chart …

The chart or graph will now be added to the Visualizer ‘Library’ …

Note that new visual elements are given a unique ID displayed in a shortcode. As you will see shortly, this allows you to embed graphs and charts into your WordPress posts quickly …

Charts and graphs added to the Visualizer Library can be accessed by their type …

After an element has been added to the ‘Visualizer Library’, you can edit its details, duplicate it, or trash it …

Plugin Usage
Once you’ve created a graph or chart and added it to the Library, adding it to a post is really 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 the content and click on the ‘Add Media‘ button …

Click on ‘Visualizations‘ …

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

This adds a shortcode into your content …

Once you have added your visual element, click on Publish to publish (or update) your page or post …

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

Your chart or graph will show in the content …

As mentioned previously, the plugin also displays responsive graphs for mobile device viewing …

As you can see, Visualizer allows you to add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your site. This is a real time-saving feature of the plugin if you’re managing dynamic chart data in WordPress.
![]()
The plugin developers have created a series of step-by-step tutorials you can use to learn how to edit, customize and use the plugin.
For tutorials on editing, copying, deleting and adding data to your charts, go to the website below:
Congratulations! Now you know how to easily insert great-looking and mobile-responsive pie charts and graphs into WordPress with WP Visualizer.
***
"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)
***