WordPress Tutorial

No doubt you’re familiar with the adage “a picture is worth a thousand words.” This is certainly true when you’re trying to present and explain complex information.

Using graphs and charts is great for making data more easily digestible.

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

How To Embed Stunning Charts Into A Post In WordPress

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

Need to add charts or graphs to WordPress? This tutorial shows you how to use the WP Visualizer plugin – a simple, easy to use and powerful tool that allows you to create, manage and embed interactive charts and graphs into your WordPress posts and pages in a few simple steps that:

  • Your visitors can engage with
  • Allows you to add data from your hard drive or an online data source
  • Will dynamically resize for mobile browsing

Visualizer

Useful Tip

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

If you want to insert dynamic bar charts and graphs into WordPress pages and posts, however, (especially if you want to do this with no code editing involved) then a simple way to do this is to add a plugin.

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

Visualizer Plugin For WordPress

Visualizer Plugin For WordPress

Visualizer URL

You can install the plugin from your WP dashboard (see further below), or access and download WordPress Visualizer here:

http://wordpress.org/plugins/visualizer

Plugin Description

The WP Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert eye-catching and dynamic graphs into your WordPress posts and pages in just a few mouse clicks.

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

The plugin also comes with a variety of built-in elements 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

WordPress Visualizer 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 web design. Various options are available for each chart that let you further 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 site visitors can see your charts and graphs on their mobile devices without having to install any extra plugins.

Plugin Installation

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

WP Step-By-Step Tutorial

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

Install Visualizer Plugin For WordPress

Locate the plugin in the search results section and click Install Now

Install WP Plugin: Visualizer

Click OK to continue …

Install Visualizer

Activate the plugin …

Install Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer - WordPress Plugin

Once your plugin has been activated, click on Library

Install Visualizer

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

Installing WP Plugins

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

Visualizer Plugin For WordPress

After installing the plugin, the library contains no charts.

Your next step is to add the charts and graphs to your library that you will want to publish to 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 Plugin For WordPress

A page will appear in your screen displaying all the different types of graphs available.

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

Visualizer Plugin For WordPress

The selected graph/chart type will open up in a new window.

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

Visualizer

Useful Information

When creating your CSV data file, ensure that:

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

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

WordPress Plugin: Visualizer

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

Visualizer

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

Visualizer

The plugin will import your data and display it using the graph/chart type you have previously selected …

Visualizer - WordPress Plugin

Upload CSV File From The Web

Visualizer

Useful Information

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:

How To Populate Data Using Google Spreadsheet

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

Visualizer - WP Plugin

Depending on the chart or graph type selected, the plugin displays various customization settings and options …

Visualizer

The plugin gives you full control over 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).

WordPress Plugin: Visualizer

Once you are satisfied with the way your chart or graph is looking, click Create Chart

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

After adding a graph or chart to the ‘Visualizer Library’, you can edit its details, duplicate it, or trash it …

WP Plugin: Visualizer

Visualizer Plugin Usage

After you have created a new chart or graph and added it to Visualizer, adding it to posts and pages is very simple.

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

Visualizer - WordPress Plugin

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 element to be added to your content and click the “insert” icon …

Visualizer - WordPress Plugin

This adds a shortcode for the element into your content …

Visualizer

Once you have added the item, click on Publish to publish (or update) your content …

Publishing A WordPress Post

Once the post has been updated, click ‘View post’ to see the end result …

Visualizer - WordPress Plugin

The chart will display where you’ve added the shortcode …

WP Plugin: Visualizer

As mentioned previously, the plugin also displays responsive charts for mobile browsing …

Visualizer Plugin For WordPress

As you can see, Visualizer lets you add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This is great if you’re adding dynamic graph data in WordPress.

Tutorial

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

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 create stunning and mobile-responsive charts and graphs in WordPress with WordPress Visualizer.