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

Creating Dynamic Graphs And Charts In A Page In WordPress

You’ve no doubt heard the adage “a picture is worth a thousand words.” This certainly applies when you’re presenting or explaining complex information.

Graphs and charts help to make technical data a lot easier to grasp.

You can present data using tables, but if you want people to try and make sense of complex information with numbers, percentages and relationships more easily, then charts and graphs are perfect for helping them interpret the data.

Create Charts In A Page In WordPress

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

If you want to learn how to display dynamic visual content on your WordPress site using charts and graphs, this tutorial will show you exactly how to create colorful and updatable charts to your WordPress posts that:

  • Your visitors can engage with
  • Allows you to add chart or graph data from your hard drive or an online data source
  • Is fully responsive for mobile viewers

Visualizer Plugin For WordPress

Useful Tip

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

Use WordPress Chart & Graph Plugins

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

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

Visualizer

WP Plugin: Visualizer

Visualizer Plugin URL

You can install the plugin from your WP dashboard (explained further down the page), or access and download WordPress Visualizer here:

http://wordpress.org/plugins/visualizer

Plugin Description

WP Visualizer is a simple, easy to use and powerful tool that lets you create, manage and insert beautiful and dynamic charts and graphs into your WordPress posts and pages in 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 extra addons are needed.

WordPress Visualizer also contains 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

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 look and feel.

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 site visitors can see your charts and graphs on their mobile devices without having to install additional plugins.

Plugin Installation

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

WP Step-By-Step

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

Install Visualizer Plugin For WordPress

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

Install Visualizer Plugin For WordPress

Click OK to continue …

Install WordPress Plugin: Visualizer

Activate the plugin after installing it …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install Visualizer - WordPress Plugin

Once the plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

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

WordPress Step-By-Step Tutorial

This brings up the plugin’s Visualizer Library settings page …

Visualizer - WordPress Plugin

After installing the plugin, the library contains no charts.

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

Visualizer Configuration

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

WP Plugin: Visualizer

A page will load on your browser with all the kinds of charts available.

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

WP Plugin: Visualizer

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

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

Visualizer

Info

When creating your CSV data file, ensure that:

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

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

WP Plugin: Visualizer

If you are unsure about how to format your CSV file, simply refer to the sample CSV file provided 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 the CSV file from your hard drive select ‘From Computer‘ …

Visualizer

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

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

Upload CSV File From The Web

Visualizer

Useful Information

For a tutorial that shows you 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 the information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and then click ‘Next‘ …

Visualizer Plugin For WordPress

Depending on the chart or graph type you have selected, the plugin displays a range of customization options and settings …

Visualizer Plugin For WordPress

The plugin gives you complete 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 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 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 - WP Plugin

Once you are happy with how your graph or chart appears, click Create Chart

WP Plugin: Visualizer

The graph or chart will now be added to the ‘Visualizer Library’ section …

Visualizer

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

Visualizer

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

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

Plugin Usage

Once you’ve created a new element and added it to Visualizer, it’s very simple to add it to a page.

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

Visualizer - WordPress Plugin

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

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

Select the element to be inserted into your content and click the “insert” icon …

Visualizer Plugin For WordPress

This will place a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

After your post/page has been published, click ‘View post’ to see it …

Visualizer Plugin For WordPress

Your post or page displays the element in your content …

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected throughout your site. This is great if you’re working with dynamic graph data in WordPress.

Tutorial

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

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

Congratulations! Now you know how to easily insert dynamic charts and graphs into your WordPress pages and posts with WordPress Visualizer.

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)

***

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

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

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

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

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

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

Author: Martin Aranovitch

Martin Aranovitch is the owner of WPCompendium.org and the author of The WordPress User Manual. 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.