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 Insert Mobile-Responsive Charts And Graphs Into A WordPress Page Or Post

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

Using graphs and charts can help to make data simpler to digest.

You can use tables to present information, but if you want people to try and make sense of complex information with figures, trends and comparisons quickly, then charts and graphs let you present the data in an intelligent and meaningful way that can be easily understood.

Inserting Updatable Graphs And Charts Into Pages In WordPress

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

Need to add charts and graphs to WordPress? 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 eye-catching and interactive charts into your WordPress posts and pages that:

  • Your site visitors can interact with
  • Lets you upload data from your computer or an online source of data
  • Is responsive for mobile devices

Visualizer

Tip

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

Use WordPress Chart & Graph Plugins

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

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

Visualizer

WordPress Plugin: Visualizer

Visualizer URL

You can install the plugin in your WP dashboard (see further below), or download WP Visualizer the WP free plugin repository using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is a simple, easy to use and powerful plugin that allows you to create, manage and insert great-looking graphs and charts into your WordPress posts and pages with just 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 plugins are needed.

WordPress Visualizer also contains a variety of charts that are optimized to address 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 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. Several options are available for each chart that let you fully 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 visitors can see your charts and graphs on their mobile devices without having to install any additional plugins.

Plugin Installation

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

Install Plugins

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

Install Visualizer Plugin For WordPress

Locate Visualizer in the search results area and click Install Now …

Install Visualizer - WP Plugin

Click OK to proceed …

Install Visualizer

Activate the plugin after successfully installing it …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer - WP Plugin

Once the plugin has been activated, click on Library …

Install WP Plugin: Visualizer

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

Installing Plugin

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

WP Plugin: Visualizer

After installing 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 pages and posts.

Visualizer Plugin Configuration

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

WP Plugin: Visualizer

A page will load in your screen displaying all the kinds of graphs and charts available.

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

Visualizer - WP Plugin

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

The next step is to upload a CSV file with the data you would like to populate your chart or graph with …

WordPress Plugin: Visualizer

Useful Info

When creating your CSV data file, make sure that:

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

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

WordPress Plugin: Visualizer

If you are not sure how to format your CSV file, simply use the sample file that comes with the plugin.

Once you have created your CSV file, 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 and data from your hard drive select ‘From Computer‘ …

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

The plugin imports your data from the CSV file and displays it using the graph/chart type chosen …

Visualizer Plugin For WordPress

Upload CSV File From The Web

WordPress Plugin: Visualizer

Important Info

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

After importing your data, check that all of the information is correct (if not, click on the ‘Back’ button and reupload a data file with the right data), and click ‘Next‘ …

Visualizer - WordPress Plugin

Depending on the chart or graph type you have chosen, the plugin will display a range of customization options …

Visualizer - WordPress Plugin

The plugin gives you total control over your chart or graph, and updates your display in real time …

Visualizer

For example, the pie chart offers various 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 satisfied with the look of your graph or chart, click Create Chart …

Visualizer Plugin For WordPress

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

Visualizer

Note that new elements are given a unique ID displayed as a shortcode. As you will see shortly, this lets you insert graphs and charts into your WordPress content quickly …

Visualizer

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

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

Visualizer Plugin Usage

After you have created a new element and added it to Visualizer, adding it to a post is quite simple.

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 Add Media …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

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

Visualizer

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

Publishing A WordPress Post

Once your post has been updated, click ‘View post’ to see the result …

Visualizer Plugin For WordPress

Your graph or chart will show in where you’ve added the shortcode …

WP Plugin: Visualizer

As mentioned earlier, the plugin also displays responsive graphs for mobile browsing …

WP Plugin: Visualizer

As you can see, WordPress Visualizer allows you to add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes adding interactive graph data in WordPress very easy.

Tutorial

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

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

Congratulations! Now you know how to add attractive and dynamic charts and graphs to WordPress.

***

"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

***