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

How To Embed Dynamic Charts Into WordPress Posts

No doubt you’re familiar with the old adage “a picture is worth a thousand words.” This is certainly true when you are presenting or explaining data.

Using charts and graphs is useful for breaking up content with loads of text, and making statistical data more easily digestible.

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

Insert Graphs Into A Post Or Page In WordPress

Charts and graphs help explain complex data so your audience can more easily understand it!

If you want to learn how to present information visually and dynamically on your WordPress site using graphs and charts, this tutorial will show you how to create and add eye-catching and interactive charts to your WordPress posts that:

  • Your web visitors can interact with
  • Lets you add data from your computer or an online source of data
  • Will dynamically resize for mobile browsing

Visualizer Plugin For WordPress

Tip

If you are displaying visual data like bar charts, comparison charts or trending graphs containing static information (e.g. historical data), a simple method you can use is to create the graphs or charts using a desktop application, convert these into jpg and png images and then simply insert your images into your post or page.

Use WordPress Chart & Graph Plugins

If you want to embed dynamic bars and pie graphs into WordPress with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a plugin for WordPress that is simple to install, easy-to-use and allows you to not only create appealing and interactive graphs and charts, it also lets you populate your charts and graphs with updateable data.

Visualizer Plugin For WordPress

Visualizer - WP Plugin

Visualizer URL

You can install the plugin inside your WP dashboard (we show you how to do this a little further below), or download the WordPress Visualizer plugin the WP free plugin repository using the link below:

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 stunning graphs into your WordPress posts and pages with a few mouse clicks.

The plugin 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 provides a variety of charts 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 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 the look and feel of your website. Various options are available for each chart that allow you to 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 web browsers without requiring the installation of additional plugins.

How To Install The Plugin

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

How To Intall Plugins

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

Install Visualizer Plugin For WordPress

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

Install Visualizer Plugin For WordPress

Click OK to go ahead …

Install WordPress Plugin: Visualizer

Activate the plugin after installation is successful …

Install Visualizer - WP Plugin

You can also activate the plugin in the Plugins page …

Install Visualizer

After your plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

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

WP Step-By-Step

This brings up the plugin’s Visualizer Library settings …

Visualizer

When you first install the plugin, the library contains no charts.

Your next step is to add the charts and graphs to your library that you plan to display in your pages or posts.

Visualizer Configuration

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

Visualizer

A page will load on your screen with all the different kinds of graphs and charts available.

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

WordPress Plugin: Visualizer

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

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

Visualizer

Useful 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 per the requirements above …

WordPress Plugin: Visualizer

If you are not sure how to format your CSV file, just study the sample supplied with the plugin.

Once you have completed this step, select your 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

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

WP Plugin: Visualizer

The plugin will now import the data and display it using the graph/chart type you have previously selected …

Visualizer

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important 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 the data, check that all of your information is correct (if not, click on the ‘Back’ button and reupload a new data file containing the right data), and then click ‘Next‘ …

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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

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

Visualizer - WP Plugin

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

Visualizer - WordPress Plugin

Note that every new element is given a unique ID displayed as a shortcode. As you will see shortly, this allows you to add graphs and charts to your content very quickly …

Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer

Visualizer Usage

After you have created a graph or chart and added it to Visualizer, adding it to a post or page is very simple.

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

Visualizer

Next, place your mouse cursor where you would like to insert your visual element into the content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer

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

Visualizer Plugin For WordPress

This inserts a shortcode into your content …

Visualizer - WP Plugin

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

Publishing A WordPress Post

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

Visualizer - WP Plugin

Your element will show up in the content …

Visualizer Plugin For WordPress

As mentioned previously, the plugin also displays responsive elements for mobile browsing …

Visualizer Plugin For WordPress

As you can see, Visualizer allows you to add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected throughout your website. This makes managing interactive chart information in WordPress very efficient.

Tutorial

The developers of this plugin have created a series of step-by-step tutorials you can use to learn how to edit, customize and use the Visualizer plugin for WordPress.

For tutorials on editing, cloning, deleting and adding data to your charts, go to the website below:

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

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com

***