How To Add Charts And Graphs To WordPress

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

How To Add Charts And Graphs To WordPress

Adding Charts And Graphs To WordPress Posts

You’ve heard the adage “a picture is worth a thousand words.” This is certainly true when you are trying to present or explain data.

Using graphs and charts can help to break up long chunks of technical information, and make statistical data more easily digestible.

You can present data using tables, but if you want people to try and interpret complex data with figures, trends or relationships more easily, then graphs and charts let you present your information in a meaningful and intelligent manner that can be quickly understood.

Add Charts To A Post In WordPress

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

If you want to display dynamic visual content on your WordPress site like charts and graphs, this tutorial will show you exactly how to create colorful and updateable charts to your WordPress posts that:

  • Your visitors can engage with
  • Allows you to upload chart or graph data from your hard drive or a web-based data source
  • Is fully responsive for mobile devices

Visualizer

Tip

If you plan to display visual data like pie charts, comparison data or trending graphs containing static information (e.g. historical data), a simple method you can use is to create your graphs or charts using a desktop application, convert these into .jpg and .png files and then simply add the image to your page or post.

Use WordPress Chart & Graph Plugins

If you want to create interactive bar charts and pie graphs in your WordPress posts and pages with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a plugin for WordPress users that is simple to install, easy-to-use and allows you to not only create beautiful and dynamic graphs and charts, it also lets you populate your charts and graphs with dynamic content.

Visualizer

WP Plugin: Visualizer

Visualizer Plugin URL

You can install the plugin inside your WP dashboard (we show you how to do this a little further below), or access and download the Visualizer plugin here:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WordPress Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and embed appealing graphs into your WordPress posts and pages with just a few simple steps.

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 addons are required.

The plugin also contains a variety of built-in 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

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 site’s design. Various options are available for each chart that let you 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 site visitors can see your charts and graphs on their mobile browsers without having to install additional software.

Plugin Installation

Inside your WP dashboard, select Plugins > Add New from the main admin menu …

WordPress Step-By-Step Tutorial

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

Install WordPress Plugin: Visualizer

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

Install Visualizer Plugin For WordPress

Click OK to proceed …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer

After your plugin has been activated, click on Library

Install Visualizer - WP Plugin

You can get to the plugin’s ‘library’ screen by selecting Media > Visualizer Library from your main menu …

WP Step-By-Step Tutorial

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

WP Plugin: Visualizer

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 display in your content.

Visualizer Configuration

To add a graph or chart to the plugin’s library, click on ‘Add New’ …

Visualizer Plugin For WordPress

A gallery displaying all of the built-in kinds of charts available will load on your screen.

Select the graph or chart type you would like to create and click on the ‘Next’ button …

Visualizer Plugin For WordPress

Your graph/chart type will pop up in a new window.

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

Visualizer - WP Plugin

Info

When creating your CSV data file, ensure that:

  • Your first row contains the column headings.
  • The second row contains the series type (e.g. string, datetime, etc.)

The screenshot below shows how to format your data as explained above …

WordPress Plugin: Visualizer

If you are unsure about how to format your data CSV, simply refer to the sample spreadsheet provided with the plugin.

Once you have done this, select your data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.

Upload CSV File From Computer

To upload the CSV file from your hard drive select ‘From Computer‘ …

Visualizer

Locate and select your data file and then click on ‘Open‘ …

Visualizer - WordPress Plugin

The plugin imports the data from the CSV file and displays it using the graph/chart type you have selected …

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer - WordPress Plugin

Info

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:

After importing your 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 then click ‘Next‘ …

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

Visualizer gives you total 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 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).

Visualizer - WordPress Plugin

Once you are happy with the look of your graph or chart, click Create Chart

Visualizer Plugin For WordPress

Your new chart or graph will be added to the ‘Visualizer Library’ section …

Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

After a graph or chart has been added to the ‘Visualizer Library’, you can edit its details, clone it, or delete it …

Visualizer Plugin For WordPress

Visualizer Usage

After you have created a new graph or chart and added it to the Library, it’s really simple to insert it into a post.

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

Visualizer - WP Plugin

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‘ …

Visualizer - WP Plugin

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

Visualizer - WordPress Plugin

This will add 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

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

Visualizer Plugin For WordPress

Your item will display in the location where you placed the shortcode …

Visualizer - WordPress Plugin

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

Visualizer

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected throughout your website. This is one of the great benefits of using the Visualizer plugin if you’re working with interactive chart information in WordPress.

Tutorial

The plugin developers have created a number 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 create eye-catching and dynamic bar charts and graphs in WordPress.

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***