How To Add Charts And Graphs To WordPress

Learn how to create, manage and embed stunning graphs into your WordPress posts and pages with a few simple steps.

Get Thrive Leads for WordPress

How To Insert Mobile-Responsive Graphs Into A Post Or Page In WordPress

You’ve no doubt heard the saying “a picture is worth a thousand words.” This is certainly true when you’re presenting or explaining complex information.

Using charts and graphs is a great way to make technical data more easily digestible.

You can use tables to present data, but if you want your audience to try and make sense of complex data with figures, trends or relationships more easily, then graphs and charts are perfect for helping them visualize the data.

Create Graphs And Charts In A WordPress Page

Charts and graphs help present complex information so your audience can more easily interpret it!

If you need to learn how to display information visually and dynamically on your WordPress site like charts and graphs, this step-by-step tutorial will show you exactly how to create colourful and updateable charts and graphs to your posts and pages that:

  • Your visitors can interact with
  • Lets you upload data from your computer or an online data source
  • Will resize dynamically for mobile browsers

Visualizer Plugin For WordPress

Useful Tip

If you are displaying visual data like bar charts, comparison bars or trending graphs containing static information (e.g. historical data), a simple method you can use is to create your graphs or charts using an image editing application, convert these into jpg and png files and then simply insert your files and an image into your content.

If you want to create interactive bar charts and pie graphs in your WordPress posts and pages, however, (especially if you would like to do this with no code editing involved, then a simple way to do this is to use a plugin.

Fortunately, there is a free plugin for WordPress sites that is simple to install, easy-to-use and allows you to not only create colorful and mobile-responsive graphs and charts, but to also populate your charts and graphs with updatable information.

Visualizer Plugin For WordPress

Visualizer - WordPress Plugin

Visualizer URL

You can install the plugin inside your WP dashboard (explained a little further down the page), or download Visualizer from the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is a simple, easy to use and powerful tool that lets you create, manage and embed eye-catching charts into your WordPress posts and pages with just a few mouse clicks.

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 provides a variety of built-in 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

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 your site’s design. Various options are available for each chart that allow you to fully 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 site visitors can see your charts and graphs on their mobile browsers without requiring the installation of any additional plugins.

Plugin Installation

From your WordPress dashboard, select Plugins > Add New from the main menu …

WP Plugin Tutorial

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

Install WP Plugin: Visualizer

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

Install WordPress Plugin: Visualizer

Click OK to continue …

Install WP Plugin: Visualizer

Activate the plugin after successfully installing it …

Install Visualizer - WP Plugin

You can also activate the plugin in the Plugins section …

Install Visualizer - WordPress Plugin

Once the plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

You can get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library in the main menu …

WordPress Plugin Tutorial

This brings up the plugin’s Visualizer Library options …

Visualizer - WordPress Plugin

When you first install the plugin, this section will be empty.

Your next step is to add the charts and graphs to your library that you plan to publish to your content.

Visualizer Plugin Configuration

To add a graph or chart to the library, click on Add New

Visualizer

An image gallery displaying all the different kinds 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 …

Visualizer

The graph/chart type will pop up in a lightbox.

The next step is to upload a CSV file that contains your data …

Visualizer

Important Info

When creating your CSV data file, make sure that:

  • Your first row includes the column headings.
  • Your second row includes the series type (e.g. boolean, datetime, etc.)

The screenshot below shows how to format your data as required …

Visualizer - WordPress Plugin

If you are not sure how to format your data CSV, simply study the sample CSV file that comes 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 your CSV file and data from your computer select ‘From Computer‘ …

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

The plugin will import the data from the CSV file and display it using the graph/chart type you have chosen …

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer - WP Plugin

Important

For a step-by-step tutorial that explains how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

How To Populate Data Using Google Spreadsheet

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 with the right data), and then click ‘Next‘ …

Visualizer

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

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).

WordPress Plugin: Visualizer

Once you are happy with the way your chart or graph looks, click on the ‘Create Chart’ button …

WP Plugin: Visualizer

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

Visualizer

Note that each new element is given a unique ID displayed as a shortcode. As you will see shortly, this allows you to insert graphs and charts into your WordPress content quickly and easily …

Visualizer

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Plugin Usage

Once you’ve created a new chart or graph and added it to the Library, it’s very easy to insert it into a page or post.

First, create a new post or page (or open an existing one) …

Visualizer Plugin For WordPress

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

@@@

Click on ‘Visualizations‘ …

Visualizer - WordPress Plugin

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

Visualizer

This inserts a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

After your page/post has been updated, click ‘View post’ to see the result …

Visualizer Plugin For WordPress

Your element will appear in the location you specified …

Visualizer Plugin For WordPress

As mentioned earlier, the plugin also displays responsive charts for mobile viewers …

Visualizer Plugin For WordPress

As you can see, WordPress Visualizer allows you to add and customize dynamic charts and graphs in your content. You can modify your data and your changes will automatically be reflected throughout your website. This is a real time-saving feature of the plugin if you’re managing dynamic graph data in WordPress.

Tutorial

The developers of this plugin have created a number of tutorials you can use to learn how to edit, customize and use the plugin.

For additional tutorials on editing, copying, deleting and adding data to your charts, visit the site below:

WordPress Visualizer – Additional Tutorials

Congratulations! Now you know how to create beautiful and dynamic charts and graphs in WordPress with WordPress Visualizer plugin.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

Disclaimer: We have no direct association with WordPress, Automattic, or any WordPress-related products reviewed on this website. We may receive affiliate commissions or financial benefits from purchases of products advertised, reviewed or linked to this website. All images and details sourced from product websites remain the copyright of their respective owners and are being used only for training or illustrative purposes.

***

Have you found this post useful? If so, please take a moment to share this tutorial with others who could benefit from WordPress using the links below.

Author: Martin Aranovitch

WPCompendium.org provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!

Originally published as How To Add Charts And Graphs To WordPress.