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 Charts In A WordPress Post Or Page

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

Using graphs and charts is great for breaking up content that has a disproportionate amount of text, and making technical data a lot easier to understand.

You can present information using tables, but if you want people to try and make sense of complex information with figures, trends or comparisons easily, then charts and graphs are perfect for helping them understand your data.

Create Graphs And Charts In WordPress Pages

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

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

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

WP Plugin: Visualizer

Practical Tip

If you plan to display visual data like pie charts, comparison data or trending graphs containing information that is not going to change (e.g. historical data), a simple method you can use is to create the graphs or charts using an image editing application, convert these into images and then simply insert your image files into your site content.

Use WordPress Chart & Graph Plugins

If you want to insert interactive bar charts and graphs into 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 colorful and interactive graphs and charts, it also lets you populate your charts and graphs with updateable data.

WordPress Plugin: Visualizer

Visualizer

Plugin URL

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

http://wordpress.org/plugins/visualizer

Visualizer Description

WP Visualizer is a simple, easy to use and powerful tool that lets you create, manage and embed great-looking charts and graphs into your WordPress posts and pages in 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 additional components are needed.

Visualizer also comes with 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

WordPress 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 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 web visitors can see your charts and graphs on their mobile browsers without having to install any extra software.

Plugin Installation

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

Installing Plugins

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

Install Visualizer - WP Plugin

Locate Visualizer in the search results section and click Install Now

Install Visualizer Plugin For WordPress

Click OK to continue …

Install Visualizer - WP Plugin

Activate the plugin after installation is successful …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer

After the plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

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

WP Plugins

This brings up the plugin’s Visualizer Library page …

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 new graph or chart to the library, click on Add New

Visualizer

You will see all the different types of charts and graphs available.

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 Plugin For WordPress

Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data …

Visualizer

If you are not sure how to format your data CSV, just study the sample spreadsheet provided with the plugin.

Next, select the 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

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

Visualizer Plugin For WordPress

The plugin will import the data from the CSV file and display it using the graph/chart type you have previously chosen …

WordPress Plugin: Visualizer

Upload CSV File From The Web

WordPress Plugin: Visualizer

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 with the correct data), and then click ‘Next‘ …

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

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

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

Once you’re satisfied with the look of your graph or chart, click Create Chart

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer

Visualizer Plugin Usage

After creating a element and adding it to the Library, it’s very simple to add it to your posts and pages.

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 Plugin For WordPress

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

Visualizer Plugin For WordPress

This will add a shortcode into your content …

Visualizer Plugin For WordPress

Once you have added your item, click on Publish to publish (or update) your content …

Publishing A WordPress Post

After publishing your post, click ‘View post’ to see the results …

Visualizer - WP Plugin

Your post or page displays the chart or graph in the location where you have added the shortcode …

Visualizer Plugin For WordPress

As mentioned earlier, Visualizer also displays responsive visual elements for mobile devices …

Visualizer - WP Plugin

As you can see, Visualizer lets you add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This makes managing dynamic graph information in WordPress very efficient.

Tutorial

The plugin developers have created a series of tutorials you can use to learn how to edit, customize and use the plugin.

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

Congratulations! Now you know how to easily insert great-looking charts and graphs into your WordPress content.

***

"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

***

Originally published as How To Add Charts And Graphs To WordPress.