How To Add Charts And Graphs To WordPress

You’ve heard the saying “a picture is worth a thousand words.” This certainly applies when you are presenting and explaining data.
Using graphs and charts is a great way to break up long chunks of text, and make technical data a lot easier to digest.
You can present data with tables, but if you want people to try and interpret complex information with figures, trends and comparisons quickly, then graphs and charts allow you to present the information in an intelligent and meaningful way that can be quickly and easily processed.

Charts and graphs help you present complex data so your audience can more easily understand it!
Need to add charts and graphs to your WordPress content? This tutorial shows you how to use the WP Visualizer plugin – a simple, easy to use and powerful tool that lets you create, manage and embed great-looking graphs into your WordPress posts and pages that:
- Your site visitors can interact with
- Allows you to add data from your computer or an online data source
- Will dynamically resize for mobile viewers

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

Visualizer URL
You can install the plugin from your WordPress dashboard (we will show you how to do this further down the page), or access and download WordPress Visualizer here:
http://wordpress.org/plugins/visualizer
Visualizer Description
Visualizer is a simple, easy to use and powerful WordPress plugin that lets you create, manage and embed colorful charts and graphs into your WordPress posts and pages with 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 needed.
Visualizer also comes with a variety of charts optimized for all your data visualization needs, including:
- Line chart
- Area chart
- Bar chart
- Column chart
- Pie chart
- Geo chart
- Gauge chart
- Candlestick chart
- Scatter chart
WordPress Visualizer 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. Various options are available for each chart that allow you to 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 site visitors can see your charts and graphs on their mobile web browsers without requiring the installation of any additional software.
Plugin Installation
Inside your WP dashboard, select Plugins > Add New from the main sidebar menu …

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

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

Click OK to go ahead …

Activate the plugin …

You can also activate the plugin in the Plugins section …

Once your plugin has been activated, click on Library …

You can also get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library from the dashboard menu …

This brings up the plugin’s Visualizer Library options page …

After installing the plugin, the library section will be empty.
Your next step is to add the charts and graphs to your library that you will want to insert into your content.
How To Configure Visualizer
To add a graph or chart to the library, click on the ‘Add New’ button …

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

Your selected graph/chart type will pop up in a new window.
The next step is to upload a CSV file that contains your data …

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

If you are unsure about how to format your data CSV, simply refer to the sample that comes 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 from your hard drive select ‘From Computer‘ …

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

The plugin imports the data and displays it using the graph/chart type chosen …

Upload CSV File From The Web

![]()
To learn 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 click ‘Next‘ …

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

The WordPress Visualizer plugin gives you full control over 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 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’re satisfied with how your graph or chart looks, click on the ‘Create Chart’ button …

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

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

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

After adding an element to the ‘Visualizer Library’, you can edit it, clone it, or trash it …

Visualizer Usage
After you have created a chart or graph and added it to the Visualizer Library, adding it to pages or posts is quite 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 Add Media …

Click on ‘Visualizations‘ …

Select the element you want to insert into your content and click the “insert” icon …

This will place a shortcode for the element into your content …

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

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

Your post or page should display your element in your content …

As mentioned previously, Visualizer also displays responsive visual elements for mobile viewers …

As you can see, Visualizer lets you add and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected throughout your website. This makes adding dynamic chart information in WordPress really easy.
![]()
The plugin developers have created a number of tutorials you can refer to for ways to edit, customize and use Visualizer.
For additional tutorials on editing, cloning, deleting and adding data to your charts, go to the website below:
Congratulations! Now you know how to insert colorful charts and graphs into WordPress.
***
"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
***