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 …

Get Thrive Leads for WordPress

How To Add Charts And Graphs To WordPress

Embed Charts And Graphs Into Posts In WordPress

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

Using charts and graphs can help to make technical data more easily digestible.

You can use tables to present information, but if you want people to try and interpret complex data with figures, percentages or comparisons easily, then graphs and charts let you present the information in a meaningful and intelligent way that can be easily understood.

Creating Attractive Charts And Graphs In Posts In WordPress

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

If you need to learn how to present dynamic visual content on your WordPress site using charts and graphs, this step-by-step tutorial will show you exactly how to create and add colourful and updateable graphs and charts to your posts and pages that:

  • Your site visitors can interact with
  • Lets you add data from your hard drive or an online source of data
  • Resizes dynamically for mobile browsing

Visualizer

Tip

If you plan to display visual data like bar charts, comparison graphs or trending graphs which contain information that is not going to change (e.g. historical data), a simple method you can use is to create the charts or graphs using a desktop application, convert these into images and then simply add your image to your content.

Use WordPress Chart & Graph Plugins

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

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

WordPress Plugin: Visualizer

Visualizer

Plugin URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert stunning and interactive graphs and 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 needed.

The plugin also comes with 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

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. Several options are available for each chart that allow you to fully 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 visitors can see your charts and graphs on their mobile devices without having to install any additional plugins.

Plugin Installation

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

WP Plugin Tutorial

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

Install Visualizer

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

Install Visualizer Plugin For WordPress

Click OK to proceed …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install Visualizer

You can also activate the plugin in the Plugins page …

Install WordPress Plugin: Visualizer

After your plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

How To Intall Plugin

This brings up the plugin’s Visualizer Library settings …

WordPress Plugin: Visualizer

After installing the plugin, the library contains no charts.

The next step is to add add charts and graphs to your library.

Visualizer Plugin Configuration

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

Visualizer Plugin For WordPress

A page will appear on your screen with all of 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 …

WP Plugin: Visualizer

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

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

Visualizer - WP Plugin

Useful Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data as required …

Visualizer Plugin For WordPress

If you are unsure about how to format your data CSV, simply refer to the sample spreadsheet that comes with the plugin.

Once you have done this, 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 from your hard drive select ‘From Computer‘ …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer

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

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

For example, the pie chart offers various 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 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 - WordPress Plugin

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Note that every element is given a unique ID displayed in a shortcode. As you will see very soon, this lets you add graphs and charts to your WordPress pages very quickly …

Visualizer

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Visualizer Plugin Usage

After you’ve created a chart or graph and added it to the Library, it’s easy to insert it into your pages or posts.

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

Visualizer Plugin For WordPress

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

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

Find the element to be added to your content and click the “insert” icon …

WordPress Plugin: Visualizer

This adds a shortcode into your content …

Visualizer

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

Publishing A WordPress Post

After updating your post, click ‘View post’ to see it …

Visualizer

You will see the chart in the location you specified …

Visualizer - WordPress Plugin

As mentioned previously, Visualizer also displays responsive charts for mobile viewers …

WordPress Plugin: Visualizer

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

Tutorial

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

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

Congratulations! Now you know how to easily add stunning and mobile-responsive charts and graphs to your WordPress content.

Get Thrive Leads for WordPress

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***