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 Add Graphs To A Page Or Post In WordPress

You’ve no doubt heard the saying “a picture is worth a thousand words.” This is certainly true when you are trying to present or explain complex information.

Using charts and graphs is a great way to break up long text passages, and make data much simpler to grasp.

You can use tables to present data, but if you want people to try and make sense of complex information with figures, percentages and relationships easily, then graphs and charts are perfect for helping them visualize the data.

Insert Graphs And Charts Into Posts And Pages In WordPress

Charts and graphs help explain complex information 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 insert colorful and dynamic graphs and charts into your WordPress posts and pages that:

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

Visualizer Plugin For WordPress

Practical Tip

If you plan to display visual data like pie charts, comparison charts or trending graphs containing static information (e.g. historical data), an easier way to add the data is to create the charts or graphs using an image editing application, convert these into jpg or png files and then simply insert the image into your posts or pages.

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a WordPress plugin that is simple to install, easy-to-use and allows you to not only create stunning and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with dynamic data.

Visualizer Plugin For WordPress

Visualizer - WP Plugin

Visualizer URL

You can install the plugin from your WordPress dashboard (we show you how to do this further below), or access and download WP Visualizer here:

http://wordpress.org/plugins/visualizer

Plugin Description

WP Visualizer is a simple, easy to use and powerful WordPress plugin that lets you create, manage and insert colorful graphs into your WordPress posts and pages in a few mouse clicks.

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

The plugin also provides a variety of built-in 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 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 let you 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 web visitors can see your charts and graphs on their mobile browsers without having to install additional plugins.

Plugin Installation

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

WordPress Plugins

In the Add Plugins page type “visualizer” into the search field and hit enter …

Install WordPress Plugin: Visualizer

Locate Visualizer in the search results section and click Install Now

Install WordPress Plugin: Visualizer

Click OK to proceed …

Install Visualizer

Activate the plugin after installing it …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins section …

Install Visualizer

Once the plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

Install WP Plugins

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

WP Plugin: Visualizer

When you first install the plugin, the library contains no charts.

The next step is to add add charts and graphs to the plugin library.

How To Configure Visualizer

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

Visualizer - WordPress Plugin

You will see all of the kinds of graphs available.

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

Visualizer - WP Plugin

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

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

Visualizer

Important Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as explained above …

Visualizer - WordPress Plugin

If you are unsure about how to format your CSV file, simply use the sample file that comes with the plugin.

Next, 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 - WP Plugin

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

Visualizer

The plugin will import your data and display it using the graph/chart type chosen …

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important

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

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

Visualizer

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

Visualizer

Visualizer gives you full control of your chart or graph, and updates your display in real time …

Visualizer

For example, the pie chart offers various 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 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 how your chart or graph is looking, click Create Chart

WP Plugin: Visualizer

Your new graph or chart will now be added to your 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 allows you to easily embed charts and graphs into your content …

WP Plugin: Visualizer

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

WordPress Plugin: Visualizer

After adding an item to the ‘Visualizer Library’, you can edit it, duplicate it, or trash it …

Visualizer

Visualizer Plugin Usage

After creating a element and adding it to the Library, it’s very easy to insert it into your content.

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Select the graph or chart to be inserted into your content and click the “insert” icon …

Visualizer - WP Plugin

This adds a shortcode for the element into your content …

Visualizer - WP Plugin

Once you have finished adding your item, 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 result …

Visualizer

You will see your graph or chart in the location you specified …

Visualizer Plugin For WordPress

As mentioned previously, Visualizer also displays responsive graphs and charts for mobile viewing …

Visualizer

As you can see, Visualizer lets you add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected throughout your website. This is very convenient if you’re working with interactive graph information in WordPress.

Tutorial

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

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

Congratulations! Now you know how to add colorful and dynamic bar charts and graphs to WordPress with WP Visualizer.

***

"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

***