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 Add Attractive Graphs To Pages And Posts In WordPress

You’ve heard the old adage “a picture is worth a thousand words.” This certainly applies when you’re presenting and explaining data.

Charts and graphs help to make statistical data more easily digestible.

You can present data with tables, but if you want people to try and interpret complex data with numbers, percentages or comparisons easily, then charts and graphs are perfect for helping them understand your data.

Creating Charts And Graphs In A WordPress Post

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

Need to add charts and graphs to your WordPress posts? This step-by-step tutorial shows you how to use WP Visualizer – an easy-to-use and powerful plugin that lets you create, manage and embed appealing and dynamic charts into your WordPress posts and pages that:

  • Your visitors can engage with
  • Lets you add graph or chart data from your computer or a web-based source of data
  • Will resize dynamically for mobile browsers

Visualizer

Tip

If you plan to display visual data like bar charts, comparison charts or trending graphs that contain static information (e.g. historical data), a simple method you can use to add this data is to create your graphs or charts using an image editing application, convert these into images and then simply insert the files and an image into your web content.

Use WordPress Chart & Graph Plugins

If you want to create interactive bar charts and pie graphs 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 sites that is simple to install, easy-to-use and allows you to not only create beautiful and interactive graphs and charts, it also lets you populate your charts and graphs with updatable data.

WordPress Plugin: Visualizer

Visualizer Plugin For WordPress

Visualizer Plugin URL

You can install the plugin from your WP dashboard (see a little further below), or access and download Visualizer from the link below:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WordPress Visualizer is an easy-to-use and powerful plugin that allows you to create, manage and embed great-looking and interactive charts and graphs 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 additional add-ons are needed.

WordPress Visualizer also provides a variety of charts 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 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. Several options are available for each chart that let you further 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 visitors can see your charts and graphs on their mobile web browsers without requiring the installation of additional software.

Plugin Installation

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

WP Step-By-Step Tutorial

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

Install Visualizer Plugin For WordPress

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

Install Visualizer

Click OK to continue …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins area …

Install Visualizer Plugin For WordPress

After 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 from the admin menu …

WP Plugin Tutorial

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

Visualizer Plugin For WordPress

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

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

Visualizer Configuration

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

WordPress Plugin: Visualizer

An image gallery displaying all the types 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

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

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

Visualizer - WordPress Plugin

Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data …

Visualizer - WordPress Plugin

If you are not sure how to format your data CSV, just refer to the sample that comes with the plugin.

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

Upload CSV File From Computer

To upload a CSV file and data from your computer select ‘From Computer‘ …

Visualizer

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

WP Plugin: Visualizer

The plugin imports your data and displays it using the graph/chart type you have previously selected …

WordPress Plugin: Visualizer

Upload CSV File From The Web

Visualizer - WP Plugin

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

Visualizer

Depending on the chart or graph type you’ve picked, the plugin will display various customization options and settings …

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

For example, the pie chart offers various 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 Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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

Visualizer

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

Visualizer Plugin For WordPress

Visualizer Plugin Usage

After you’ve created a new chart or graph and added it to the Library, adding it to a post is really simple.

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

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

Visualizer

This will add a shortcode into your content …

Visualizer - WP Plugin

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

Publishing A WordPress Post

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

Visualizer - WordPress Plugin

Your post or page should display your graph or chart in the location you specified …

Visualizer

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

WordPress Plugin: Visualizer

As you can see, Visualizer allows you to add and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This makes working with interactive chart data in WordPress really efficient.

Tutorial

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

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

Congratulations! Now you know how to easily add stunning and interactive bar charts and graphs to WordPress with WordPress Visualizer plugin.

***

"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

***