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

Create Graphs In A Post Or Page In WordPress

You’re probably familiar with the adage “a picture is worth a thousand words.” This is certainly true when you’re presenting and explaining data.

Using charts and graphs is a great way to make data easier to grasp.

You can use tables to present information, but if you want your audience to try and interpret complex information with figures, percentages or comparisons quickly, then graphs and charts allow you to present your data in an intelligent and meaningful manner that can be easily understood.

How To Insert Great-Looking Graphs And Charts Into Posts And Pages In WordPress

Graphs and charts help present complex information so people can more easily interpret it!

Need to add charts and graphs to your WordPress pages? This tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful plugin for WordPress that lets you create, manage and insert dynamic charts and graphs into your WordPress posts and pages that:

  • Your site visitors can interact with
  • Lets you upload chart or graph data from your hard drive or an online data source
  • Dynamically resizes for mobile browsing

Visualizer

Practical Tip

If you are displaying visual data like pie charts, comparison charts or trending graphs that contain static information (e.g. historical data), a simple method you can use is to create the charts or graphs using a desktop application, convert these into images and then simply insert your image files into your posts or pages.

Use WordPress Chart & Graph Plugins

If you want to easily create dynamic bars and pie charts in WordPress with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a great free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create great-looking and mobile-responsive charts and graphs, it also lets you populate your charts and graphs with updatable content.

Visualizer – WP Plugin

Visualizer - WP Plugin

Plugin URL

You can install the plugin in your WordPress dashboard (explained further down the page), or access and download Visualizer the WordPress plugin directory using the link below:

http://wordpress.org/plugins/visualizer

Plugin Description

WP Visualizer is an easy-to-use and powerful plugin that allows you to create, manage and embed colorful charts into your WordPress posts and pages with 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 additional add-ons 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

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 web design. Various options are available for each chart that let you further 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 web browsers without having to install extra plugins.

How To Install Visualizer

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

How To Intall Plugins

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

Install WordPress Plugin: Visualizer

Locate the item in the search results section and click Install Now

Install Visualizer

Click OK to continue …

Install Visualizer Plugin For WordPress

Activate the plugin after installing it …

Install Visualizer - WP Plugin

You can also activate the plugin in the Plugins area …

Install WordPress Plugin: Visualizer

After the plugin has been activated, click on Library

Install Visualizer Plugin For WordPress

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

WP Step-By-Step Tutorial

This takes you to the plugin’s Visualizer Library options …

WordPress Plugin: Visualizer

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

Your next step is to add add charts and graphs to the plugin library.

Visualizer Plugin Configuration

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

Visualizer

An image gallery displaying all of the types of graphs available will load on your screen.

Select the type of graph or chart 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 - WordPress Plugin

Important Info

When creating your CSV data file, ensure that:

  • The first row includes your column headings.
  • The second row contains the series type (e.g. number, date, etc.)

The screenshot below shows how to format your data correctly …

Visualizer

If you are not sure how to format your CSV file, simply use the sample supplied 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 the CSV file from your hard drive select ‘From Computer‘ …

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

The plugin will import your data from the CSV file and display it using the graph/chart type selected …

WordPress Plugin: Visualizer

Upload CSV File From The Web

WP Plugin: Visualizer

Important Info

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

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

Visualizer Plugin For WordPress

Depending on the chart or graph type you have picked, the plugin displays a number of customization options …

WordPress Plugin: Visualizer

The plugin gives you total control of your information, and updates your display in real time …

Visualizer - WP Plugin

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 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 - WP Plugin

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

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

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

Visualizer - WP Plugin

Visualizer Plugin Usage

Once you have created a new element and added it to Visualizer, it’s easy to add it to your content.

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

Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

This adds a shortcode for the element into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

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

Visualizer - WordPress Plugin

You will see your chart in your content …

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

As you can see, Visualizer lets you add and customize dynamic charts and graphs in your content. You can modify your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This is one of the great benefits of using the Visualizer plugin if you’re adding dynamic graph information in WordPress.

Tutorial

The developers of this plugin have created a number of tutorials you can refer to for ways to edit, customize and use the Visualizer plugin for WordPress.

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

Congratulations! Now you know how to easily create appealing and interactive pie charts and graphs in WordPress with WP Visualizer plugin.

***

"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

***