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 Embed Stunning Charts Into WordPress

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

Charts and graphs can help to break up long text passages, and make technical or statistical data more easily digestible.

You can present data with tables, but if you want your audience to try and make sense of complex data with figures, percentages or comparisons quickly, then graphs and charts allow you to present the data in a meaningful and intelligent manner that can be quickly and easily processed.

Embedding Stunning Graphs Into A Post Or Page In WordPress

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

If you want to learn how to present information visually and dynamically on your WordPress site like charts and graphs, this step-by-step tutorial will show you how to create and add appealing and updatable charts to your pages and posts that:

  • Your site visitors can interact with
  • Allows you to add chart or graph data from your hard drive or an online data source
  • Will dynamically resize for mobile users

Visualizer - WP Plugin

Tip

If you plan to display visual data like bar charts, comparison charts 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 your graphs or charts using a desktop application, convert these into .jpg or .png files and then simply insert your image files into your page or post.

Use WordPress Chart & Graph Plugins

If you want to easily create interactive bar charts and graphs in your WordPress content with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a free plugin for WordPress sites that is simple to install, easy-to-use and allows you to not only create eye-catching and dynamic charts and graphs, it also lets you populate your charts and graphs with updatable information.

Visualizer Plugin For WordPress

Visualizer Plugin For WordPress

Plugin URL

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

http://wordpress.org/plugins/visualizer

Visualizer Description

The WordPress Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert colorful and dynamic charts into your WordPress posts and pages with 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 web design. Several options are available for each chart that allow you to 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 software.

How To Install WordPress Visualizer

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

Installing WP Plugins

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

Install Visualizer - WP Plugin

Locate the entry in the search results area 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 - WordPress Plugin

You can also activate the plugin in the Plugins area …

Install Visualizer

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 choosing Media > Visualizer Library from your admin menu …

WordPress Plugin Tutorial

This takes you to the plugin’s Visualizer Library screen …

WP Plugin: Visualizer

After installing the plugin, the library contains no charts.

The next step is to add the charts and graphs to your library that you will want to display in your pages or posts.

How To Configure The Plugin

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

Visualizer - WP Plugin

You will be presented with all the kinds of charts and graphs available.

Select the graph or chart type 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 containing your data …

WordPress Plugin: Visualizer

Info

When creating your CSV data file, ensure that:

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

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

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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

WordPress Plugin: Visualizer

Upload CSV File From The Web

WP Plugin: Visualizer

Important Info

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

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

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

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 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 Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

Note that each element is given a unique ID displayed as a shortcode. As you will see very soon, this lets you embed charts and graphs into your WordPress content quickly …

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

Plugin Usage

After you’ve created a chart or graph and added it to Visualizer, it’s really very simple to add it to your content.

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

This will place a shortcode into your content …

Visualizer - WP Plugin

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

Publishing A WordPress Post

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

Visualizer - WP Plugin

Your page or post will display your chart or graph in the location you specified …

WordPress Plugin: Visualizer

As mentioned earlier, Visualizer also displays responsive charts and graphs for mobile viewers …

Visualizer

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can modify your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This is a real time-saver if you’re managing dynamic graph data in WordPress.

Tutorial

The plugin developers have created a series of tutorials you can use to learn how to edit, customize and use the Visualizer plugin for WordPress.

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

Congratulations! Now you know how to add attractive and mobile-responsive charts and graphs to your WordPress posts and pages.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

***