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

Add Appealing Charts To Pages And Posts In WordPress

You’re probably familiar with the adage “a picture is worth a thousand words.” This is certainly true when you are trying to present or explain data.

Graphs and charts help to break up long text passages, and make data more easily digestible.

You can present information with tables, but if you want your audience to try and interpret complex data with figures, percentages and relationships quickly, then charts and graphs are perfect for helping them understand the data.

How To Insert Charts Into WordPress

Graphs and charts help explain complex data so people can more easily understand it!

Need to add charts or graphs to WordPress? This tutorial shows you how to use the WordPress Visualizer plugin – a simple, easy to use and powerful tool that allows you to create, manage and insert great-looking and dynamic charts into your WordPress posts and pages in a few mouse clicks that:

  • Your visitors can engage with
  • Allows you to upload data from your hard drive or a web-based data source
  • Will resize dynamically for mobile screens

Visualizer Plugin For WordPress

Useful Tip

If you plan to display visual data like bar charts, comparison bars or trending graphs containing information that is not going to change (e.g. historical data), a simple method you can use is to create your graphs or charts using a desktop application, convert these into jpg and png files and then simply insert your files and an image into your page or post.

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a free plugin for WordPress users 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 updateable data.

WordPress Plugin: Visualizer

Visualizer

Visualizer Plugin URL

You can install the plugin inside your WordPress dashboard (see further down the page), or access and download the WordPress Visualizer plugin from the link below:

http://wordpress.org/plugins/visualizer

Plugin Description

Visualizer is a simple, easy to use and powerful WP plugin that allows you to create, manage and insert mobile-responsive charts and graphs 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 needed.

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 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. A number of 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 device browsers without having to install additional plugins.

How To Install WP Visualizer

Inside your WordPress admin area, select Plugins > Add New from the navigation sidebar menu …

How To Intall Plugins

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

Install Visualizer - WP Plugin

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

Install Visualizer

Click OK to proceed …

Install WP Plugin: Visualizer

Activate the plugin after successfully installing it …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

Once the plugin has been activated, click on Library

Install Visualizer - WP Plugin

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

Installing Plugins

This brings up the plugin’s Visualizer Library options …

WordPress Plugin: Visualizer

After installing the plugin, the library contains no charts.

Your next step is to add the charts and graphs to your library that you plan to publish to your posts and pages.

Visualizer Plugin Configuration

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

Visualizer

You will be presented with all of the built-in types of graphs and charts available.

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

Visualizer - WP Plugin

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

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

Visualizer Plugin For WordPress

Info

When creating your CSV data file, ensure that:

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

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

Visualizer Plugin For WordPress

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

Once you have created your CSV file, select your 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 hard drive select ‘From Computer‘ …

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

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

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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

Visualizer

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

Visualizer - WP Plugin

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

  • 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 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).

WP Plugin: Visualizer

Once you’re happy with how your graph or chart looks, click Create Chart

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

Note that new elements are given a unique ID displayed as a shortcode. As you will see in just a moment, this lets you easily insert graphs and charts into your content …

Visualizer

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

Visualizer

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

Visualizer Plugin For WordPress

Visualizer Usage

Once you’ve created a element and added it to the Visualizer Library, adding it to a post is really simple.

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

WP Plugin: Visualizer

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 chart or graph you want to insert into your content and click on the “insert” icon …

Visualizer - WP Plugin

This will add a shortcode into your content …

Visualizer

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

Publishing A WordPress Post

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

Visualizer - WP Plugin

Your page or post should display your visual element in where you’ve added the shortcode …

Visualizer Plugin For WordPress

As mentioned earlier, the plugin also displays responsive graphs and charts for mobile browsing …

WordPress Plugin: Visualizer

As you can see, the Visualizer plugin lets you insert and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected throughout your website. This makes adding interactive chart information in WordPress very efficient.

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 WordPress Visualizer.

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

Congratulations! Now you know how to insert interactive bar charts and graphs into your WordPress pages.

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

***

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