How To Add Charts And Graphs To WordPress

Learn how to create, manage and embed stunning graphs into your WordPress posts and pages with a few simple steps.

How To Create Graphs And Charts In Posts And Pages In WordPress

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

Using charts and graphs is a great way to break up technical and boring content, and make statistical data and information a lot easier to digest.

You can use tables to present data, but if you want your audience to try and interpret complex data with numbers, trends or comparisons quickly, then charts and graphs let you present your information in a meaningful and intelligent way that can be easily processed.

How To Create Dynamic Charts And Graphs In A Post In WordPress

Charts and graphs help present complex information so people can more easily understand it!

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

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

Visualizer Plugin For WordPress

Useful Tip

If you are displaying visual data like pie charts, comparison data or trending graphs that contain static information (e.g. historical data), a simple method you can use is to create your graphs or charts using an image editing application, convert these into jpg or png files and then simply add the image to your page or post.

If you want to create interactive bar charts and pie charts in your WordPress posts and pages, however, (especially if you would like to be able to do this without writing code, then a simple way to do this is by using a plugin.

Fortunately, there is a great WordPress plugin that is simple to install, easy-to-use and allows you to not only create attractive and dynamic charts and graphs, but to also populate your graphs and charts with updateable data.

Visualizer

Visualizer Plugin For WordPress

Visualizer Plugin URL

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

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

Visualizer is an easy-to-use and powerful plugin for WordPress that allows you to create, manage and insert great-looking graphs into your WordPress posts and pages in a few simple steps.

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 addons are required.

Visualizer also provides a variety of built-in 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. Various options are available for each chart that allow you to further 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 visitors can see your charts and graphs on their mobile browsers without requiring the installation of any extra software.

Plugin Installation

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

WP Plugins

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

Install Visualizer - WordPress Plugin

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

Install Visualizer - WP Plugin

Click OK to continue …

Install Visualizer - WordPress Plugin

Activate the plugin after successfully installing it …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install Visualizer

Once 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 from the main menu …

How To Intall Plugin

This brings up the plugin’s Visualizer Library options …

Visualizer - WP Plugin

After installing the plugin, the library will contain no charts.

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

Plugin Configuration

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

WP Plugin: Visualizer

A page will load in your screen with all of the default types of graphs available.

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

Visualizer

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

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

WordPress Plugin: Visualizer

Info

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, datetime, etc.)

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

Visualizer Plugin For WordPress

If you are not sure how to format your CSV file, simply study the sample 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 a CSV file and data from your hard drive select ‘From Computer‘ …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer

Upload CSV File From The Web

Visualizer

Important Info

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

How To Populate Data Using Google Spreadsheet

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

Visualizer Plugin For WordPress

Depending on the chart or graph type you have picked, the plugin displays a number of customization options …

WordPress Plugin: Visualizer

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

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

WP Plugin: Visualizer

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

Visualizer

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

WP Plugin: Visualizer

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

Visualizer

After a graph or chart has been added to the ‘Visualizer Library’, you can edit its details, clone it, or delete it …

Visualizer - WordPress Plugin

Visualizer Plugin Usage

After creating a new element and adding it to Visualizer, adding it to a post is very simple.

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

Visualizer

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‘ …

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

This will place a shortcode into your content …

Visualizer - WordPress Plugin

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

Publishing A WordPress Post

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

WordPress Plugin: Visualizer

Your chart will display in the location you specified …

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

As you can see, Visualizer allows you to add and customize dynamic charts and graphs in your content. You can update your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. 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 use to learn how to edit, customize and use the plugin.

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

WordPress Visualizer – Additional Tutorials

Congratulations! Now you know how to insert appealing and mobile-responsive bar charts and graphs into WordPress with WordPress Visualizer plugin.

***

"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)

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by WordPress, nor have they been reviewed, certified, or tested by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, reviewed, or advertised on this site.

Get Thrive Leads for WordPress

***

Was this post useful? If so, please take a moment and share this article with other WordPress users using the social links below.

Author: Martin Aranovitch

WPCompendium.org provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!