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 Create Attractive Graphs And Charts In A WordPress Page Or Post

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

Charts and graphs are a great way to break up technical or difficult content, and make technical data more easily digestible.

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

Insert Graphs And Charts Into WordPress

Graphs and charts help you explain complex information so your audience can more easily interpret it!

Need to add charts and graphs to WordPress? This tutorial shows you how to use WP Visualizer – a simple, easy to use and powerful plugin that allows you to create, manage and embed eye-catching and mobile-responsive graphs and charts into your WordPress posts and pages in a few mouse clicks that:

  • Your web visitors can engage with
  • Lets you upload data from your hard drive or an online source of data
  • Dynamically resizes for mobile viewing

WP Plugin: Visualizer

Practical Tip

If you plan to display visual data like pie charts, comparison data or trending graphs that contain static information (e.g. historical data), an easier way to add this information is to create the graphs or charts using an image editing application, convert these into .jpg and .png files and then simply add your image to your posts or pages.

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 great free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create attractive and dynamic graphs and charts, it also lets you populate your charts and graphs with dynamic content.

WordPress Plugin: Visualizer

Visualizer Plugin For WordPress

Visualizer Plugin URL

You can install the plugin from your WordPress dashboard (we will explain how to do this further below), or access and download WP Visualizer from the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

The WordPress Visualizer plugin is a simple, easy to use and powerful tool that allows you to create, manage and embed dynamic charts into your WordPress posts and pages in just a few simple steps.

The plugin 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 plugins or add-ons are needed.

WordPress Visualizer also provides a variety of charts optimized for your data visualization needs, including:

  • Line chart
  • Area chart
  • Bar chart
  • Column chart
  • Pie chart
  • Geo chart
  • Gauge chart
  • Candlestick chart
  • Scatter chart

The plugin 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 allow you to 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 browsers without having to install additional plugins.

How To Install WordPress Visualizer

From your WordPress administration area, select Plugins > Add New from the main admin menu …

Install Plugins

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

Install WP Plugin: Visualizer

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

Install Visualizer Plugin For WordPress

Click OK to continue …

Install Visualizer Plugin For WordPress

Activate the plugin after installation is successful …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins section …

Install Visualizer - WP Plugin

After your plugin has been activated, click on Library

Install Visualizer Plugin For WordPress

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

WP Plugin Tutorial

This brings up the plugin’s Visualizer Library section …

WP Plugin: Visualizer

When you first install the plugin, the library section will be empty.

The next step is to add add charts and graphs to the plugin library.

Plugin Configuration

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

Visualizer - WP Plugin

A page will appear in your screen with all of the different kinds of charts and graphs available.

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

Visualizer - WordPress Plugin

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

The next step is to upload a CSV file that contains all the data you would like your chart or graph to be populated with …

Visualizer Plugin For WordPress

Important Info

When creating your CSV data file, ensure that:

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

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

WordPress Plugin: Visualizer

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

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

Upload CSV File From Computer

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

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

Upload CSV File From The Web

WordPress Plugin: 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, see the article below:

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

Visualizer

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

Visualizer - WP Plugin

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

Visualizer

For example, the pie chart offers many configurable options, including:

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

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

Visualizer

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

WP Plugin: Visualizer

Note that every visual element is given a unique ID displayed as a shortcode. As you will see very soon, this allows you to easily insert charts and graphs into your content …

Visualizer - WP Plugin

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

Visualizer

After adding an element to the ‘Visualizer Library’, you can edit its details, clone it, or trash it …

Visualizer - WordPress Plugin

Plugin Usage

Once you’ve created a new element and added it to the Visualizer Library, it’s very easy to insert it into posts or 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 the content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer

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

Publishing A WordPress Post

Once your page/post has been updated, click ‘View post’ to see it …

Visualizer - WP Plugin

Your post or page should display the chart or graph in your content …

Visualizer

As mentioned previously, Visualizer also displays responsive charts and graphs for mobile devices …

Visualizer

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

Tutorial

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

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

Congratulations! Now you know how to insert great-looking and interactive pie charts and graphs into WordPress with WordPress Visualizer plugin.

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

***

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPressBuild An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

Using S2 MemberUsing S2 Member

Learn how to set up and configure a WordPress membership site using the S2 Member free WordPress membership plugin.

More info: Using S2 Member

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.