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 Colourful Graphs In Pages In WordPress

You’re probably familiar with the saying “a picture is worth a thousand words.” This certainly applies when you’re presenting or explaining data.

Using charts and graphs is great for breaking up long or boring text, and making data more easily digestible.

You can present information using tables, but if you want your audience to try and interpret complex data with figures, trends and comparisons more easily, then charts and graphs are perfect for helping them understand the information.

How To Add Charts To Pages And Posts In WordPress

Charts and graphs help explain complex information 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 the WP Visualizer plugin – a simple, easy to use and powerful tool that lets you create, manage and insert beautiful and interactive charts and graphs into your WordPress posts and pages that:

  • Your web visitors can interact with
  • Lets you add graph or chart data from your hard drive or a web-based data source
  • Resizes dynamically for mobile browsing

WordPress Plugin: Visualizer

Tip

If you are displaying visual data like bar charts, comparison graphs or trending graphs containing information that is not going to change (e.g. historical data), an easier option is to create your charts or graphs using an image editing application, convert these into images and then simply insert your image files into your page or post.

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create eye-catching and dynamic charts and graphs, it also lets you populate your charts and graphs with updatable information.

Visualizer Plugin For WordPress

Visualizer

Visualizer URL

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

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WP Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and embed eye-catching charts into your WordPress posts and pages in just a few mouse clicks.

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 add-ons are required.

The plugin 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

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. A number of options are available for each chart that allow you to further 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 web visitors can see your charts and graphs on their mobile browsers without requiring the installation of extra plugins.

Plugin Installation

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

WordPress Step-By-Step Tutorial

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

Install Visualizer Plugin For WordPress

Locate the entry in the search results screen and click Install Now

Install Visualizer

Click OK to go ahead …

Install Visualizer - WP Plugin

Activate the plugin …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins area …

Install WordPress Plugin: Visualizer

Once your 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 in your dashboard menu …

WordPress Plugin Tutorial

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

Visualizer

After installing the plugin, this section will be empty.

The next step is to add the charts and graphs to your library that you will want to publish to your content.

How To Configure The Plugin

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

Visualizer Plugin For WordPress

A visual gallery displaying all of the kinds of graphs and 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

Your selected graph/chart type will pop up in a lightbox.

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

Visualizer - WP Plugin

Useful Information

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as per the above requirements …

WordPress Plugin: Visualizer

If you are unsure about how to format your data CSV, just refer to the sample CSV file 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 a CSV file and data from your computer select ‘From Computer‘ …

WP Plugin: Visualizer

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

Visualizer

The plugin imports the data from the CSV file and displays it using the graph/chart type you have 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, go here:

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

Visualizer - WP Plugin

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

Visualizer

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

Visualizer Plugin For WordPress

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 a 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

Once you are happy with the way your graph or chart is looking, click on the ‘Create Chart’ button …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Note that each element is given a unique ID displayed as a shortcode. As you will see very soon, this allows you to add graphs and charts to your posts and pages quickly and easily …

WP Plugin: Visualizer

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

Visualizer - WP Plugin

After adding a chart or graph to the ‘Visualizer Library’, you can edit it, duplicate it, or trash it …

Visualizer - WordPress Plugin

Visualizer Usage

After you have created a chart or graph and added it to the Library, it’s easy to insert it into a post.

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

Visualizer - WP Plugin

Next, place your mouse cursor where you want to insert your visual element into your content and click on Add Media

@@@

Click on ‘Visualizations‘ …

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

This inserts a shortcode for the element into your content …

WP Plugin: Visualizer

After you have finished adding your item, click on Publish to publish (or update) your page or post …

Publishing A WordPress Post

After updating your post, click ‘View post’ to see the end result …

Visualizer

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

WordPress Plugin: Visualizer

As mentioned previously, Visualizer also displays responsive graphs for mobile viewing …

Visualizer Plugin For WordPress

As you can see, WordPress Visualizer lets you add and customize dynamic charts and graphs in your content. You can modify your data and the changes will automatically be reflected throughout your site. This makes working with dynamic chart data in WordPress very easy.

Tutorial

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

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

Congratulations! Now you know how to easily create attractive and dynamic charts and graphs in WordPress.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

***

Recommended Video Courses For WordPress Users

WordPress Traffic & User EngagementWordPress Traffic & User Engagement

Learn how to drive more targeted traffic to your website and discover ways to improve user engagement with your business online.

More info: WordPress Traffic & User Engagement

Recommended Video Courses For WordPress Users

WordPress 101: How To Use WordPressWordPress 101: How To Use WordPress

Learn how to unlock the power of the WordPress content management system (CMS) using the many powerful features inside your WordPress administration area.

More info: WordPress 101: How To Use WordPress

Recommended Video Courses For WordPress Users

Why Your Business Needs WordPressWhy Your Business Needs WordPress

Learn about the unique features, benefits, and advantages of using WordPress to start or grow your business online.

More info: Why Your Business Needs WordPress

Recommended Video Courses For WordPress Users

Build A WordPress Site ... Fast!Build A WordPress Site ... Fast!

Need a new website or blog in a hurry?

This video course shows you how to quickly install and configure a WordPress website or blog on your own domain name and be up and running in no time!

More info: Build A WordPress Site ... Fast!

Recommended Video Courses For WordPress Users

Google ToolsGoogle Tools

This video course will help you learn the basics of using Google Tools like Google Analytics and Gmail.

More info: Google Tools

Recommended Video Courses For WordPress Users

Keyword Research ToolsKeyword Research Tools

This video course shows you how to do keyword research using tools like the Google Keyword Planner.

More info: Keyword Research Tools

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

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