How To Add Charts And Graphs To WordPress

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This is certainly true when you are trying to present and explain complex information.
Using graphs and charts is useful for breaking up long or difficult information, and making data much simpler to grasp.
You can use tables to present data, but if you want people to try and interpret complex data with figures, percentages or comparisons easily, then graphs and charts are perfect for helping them understand your data.

Charts and graphs help present complex information so people can more easily interpret it!
If you need to learn how to display information visually and dynamically on your WordPress site using charts and graphs, this step-by-step tutorial will show you exactly how to create and add colourful and updateable charts to your WP pages that:
- Your web visitors can interact with
- Allows you to add chart or graph data from your computer or an online source of data
- Dynamically resizes for mobile browsers

![]()
If you plan to display visual data like bar charts, comparison graphs or trending graphs containing static information (e.g. historical data), an easier way to display this information is to create the graphs or charts using a desktop application, convert these into .jpg or .png images and then simply insert the images into your site content.
Use WordPress Chart & Graph Plugins
If you want to easily add interactive bar charts and pie charts to WordPress posts with no coding skills required, the easiest way to do this is to use a plugin.
Fortunately, there is a great plugin for WordPress sites that is simple to install, easy-to-use and allows you to not only create stunning and interactive charts and graphs, it also lets you populate your charts and graphs with updatable information.
Visualizer

Visualizer URL
You can install the plugin inside your WordPress dashboard (see a little further below), or access and download the Visualizer plugin the WP free plugin directory using the link below:
http://wordpress.org/plugins/visualizer
Visualizer Plugin Description
WP Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and insert attractive and dynamic graphs and charts into your WordPress posts and pages with 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 extra addons are required.
WordPress Visualizer also comes with a variety of built-in 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 the look and feel of your website. Several options are available for each chart that let you customize their look.
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 devices without requiring the installation of extra plugins.
Plugin Installation
Inside your WordPress dashboard, select Plugins > Add New from the main sidebar menu …

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

Locate Visualizer in the search results area and click Install Now …

Click OK to go ahead …

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 selecting Media > Visualizer Library from your main menu …

This takes you to the plugin’s Visualizer Library settings page …

When you first install the plugin, the library will contain no charts.
The next step is to add the charts and graphs to your library that you plan to display in your content.
Visualizer Configuration
To add a chart or graph to the library, click on the ‘Add New’ button …

A visual gallery displaying all of the different types of charts and graphs available will come up on your screen.
Select the chart or graph 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 all the data you want to populate your chart or graph with …

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

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

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

The plugin will now import the data from the CSV file and display 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, go here:
After importing your data, check that all of your information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and then click ‘Next‘ …

Depending on the chart or graph type you’ve picked, the plugin will display a number of customization settings …

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

For example, the pie chart offers many configurable options, including:
- 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’re happy with how your graph or chart looks, click on the ‘Create Chart’ button …

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

Note that new visual elements are given a unique ID displayed as a shortcode. As you will see very soon, this lets you insert graphs and charts into your WordPress pages and posts quickly …

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

After adding a new element to the ‘Visualizer Library’, you can edit it, duplicate it, or delete it …

Visualizer Plugin Usage
After creating a new chart or graph and adding it to the Library, adding it to a post or page is really very simple.
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 your content and click on the ‘Add Media‘ button …

Click on ‘Visualizations‘ …

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

This will add a shortcode into your content …

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

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

You will see the graph or chart in where you have inserted the shortcode …

As mentioned previously, the plugin also displays responsive graphs and charts for mobile users …

As you can see, WordPress Visualizer allows you to insert and customize dynamic charts and graphs in your content. You can modify your data and the changes will automatically be reflected throughout your website. This is great if you’re managing dynamic chart information in WordPress.
![]()
The developers of this plugin have created a number of step-by-step tutorials you can refer to to learn how to edit, customize and use WordPress Visualizer.
For additional tutorials on editing, cloning, deleting and adding data to your charts, visit the site below:
Congratulations! Now you know how to add appealing and interactive bar charts and graphs to your WordPress posts with WordPress Visualizer.
***
"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie
***