How To Add Charts And Graphs To WordPress

You’ve heard the old adage “a picture is worth a thousand words.” This certainly applies when you’re presenting and explaining complex data.
Graphs and charts help to make data more easily digestible.
You can use tables to present information, but if you want your audience to try and make sense of complex information with figures, trends or comparisons easily, then charts and graphs are perfect for helping them interpret the data.

Charts and graphs help you present complex information so people can more easily understand it!
Need to add charts or graphs to your WordPress posts and pages? This step-by-step tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful tool that lets you create, manage and embed mobile-responsive charts and graphs into your WordPress posts and pages that:
- Your visitors can interact with
- Lets you upload chart or graph data from your computer or a web-based data source
- Is dynamically responsive for mobile devices

![]()
If you plan to display visual data like pie charts, comparison data or trending graphs containing static information (e.g. historical data), an easier option is to create the graphs or charts using an image editing application, convert these into jpg or png files and then simply add the image to your post or page.
Use WordPress Chart & Graph Plugins
If you want to add interactive bar charts and pie graphs to WordPress with no coding skills required, the easiest way to do this is to use a plugin.
Fortunately, there is a free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create attractive and interactive charts and graphs, it also lets you populate your charts and graphs with updateable data.
Visualizer Plugin For WordPress

Visualizer Plugin URL
You can install the plugin in your WP dashboard (we explain how to do this further down the page), or access and download WP Visualizer from the link below:
http://wordpress.org/plugins/visualizer
Visualizer Description
The Visualizer plugin is a simple, easy to use and powerful tool that allows you to create, manage and embed appealing and interactive charts and graphs into your WordPress posts and pages in just 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 additional plugins or add-ons are required.
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
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 the look and feel of your website. A number of options are available for each chart that allow you to fully 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 blog or site visitors can see your charts and graphs on their mobile browsers without requiring the installation of additional plugins.
Plugin Installation
Inside your WordPress dashboard, select Plugins > Add New from the dashboard menu …

In the Add Plugins page type “visualizer” into the search field and hit enter …

Locate the plugin in the search results section and click the “Install Now” button …

Click OK to proceed …

Activate the plugin …

You can also activate the plugin in the Plugins area …

Once the plugin has been activated, click on Library …

You can get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library from the 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 add charts and graphs to the plugin library.
How To Configure The Plugin
To add a graph or chart to the plugin’s library, click on the ‘Add New’ button …

An image gallery displaying all of the built-in types of graphs and charts 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 that contains the data you want to populate your chart or graph with …

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

If you are not sure how to format your CSV file, simply study the sample spreadsheet that comes with the plugin.
Next, select your data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.
Upload CSV File From Computer
To upload a CSV file and data from your hard drive select ‘From Computer‘ …

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

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

Upload CSV File From The Web

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

Depending on the chart or graph type you have selected, the plugin will display a number of customization options …

The plugin gives you full control of your chart or graph, and updates your display in real time …

For example, the pie chart offers many 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 the 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’re satisfied with the look of your chart or graph, click on the ‘Create Chart’ button …

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

Note that every new element is given a unique ID displayed as a shortcode. As you will see in a moment, this lets you add charts and graphs to your posts very easily …

Charts and graphs 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, duplicate it, or trash it …

Plugin Usage
After creating a chart or graph and adding it to Visualizer, it’s simple to add it to a page.
First, create a new post or page (or open an existing one) …

Next, place your mouse cursor where you want to insert your visual element into the content and click on the ‘Add Media‘ button …

Click on ‘Visualizations‘ …

Find the graph or chart you want to add to your content and click on the “insert” icon …

This will add a shortcode into your content …

After you have finished adding the element, click on Publish to publish (or update) your post or page …

After publishing your post/page, click ‘View post’ to see the result …

Your page or post should display the chart in where you’ve added the shortcode …

As mentioned earlier, the plugin also displays responsive elements for mobile device screens …

As you can see, Visualizer lets you insert and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your website. This makes working with dynamic chart data in WordPress very efficient.
![]()
The plugin developers have created a number of tutorials you can use to learn how to edit, customize and use the Visualizer plugin for WordPress.
For additional tutorials on editing, cloning, deleting and adding data to your charts, visit the site below:
Congratulations! Now you know how to create colorful and mobile-responsive bar charts and graphs in WordPress.
***
"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)
***