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 Charts And Graphs Into A WordPress Page Or Post

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

Graphs and charts are a great way to break up long text passages, and make statistical data more easily digestible.

You can use tables to present data, but if you want people to try and make sense of complex information with numbers, percentages and relationships more easily, then charts and graphs allow you to present data in a meaningful and intelligent way that can be easily understood.

Add Updateable Graphs To Pages And Posts In WordPress

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

If you want to display dynamic visual content on your WordPress site like charts and graphs, this step-by-step tutorial will show you exactly how to create eye-catching and updatable charts to your WP pages and posts that:

  • Your visitors can interact with
  • Allows you to upload graph or chart data from your computer or a web-based source of data
  • Is dynamically responsive for viewing on mobile devices

WP Plugin: Visualizer

Practical Tip

If you are displaying visual data like pie charts, comparison bars or trending graphs containing information that is not going to change (e.g. historical data), a simple method you can use to present this data is to create the graphs or charts using an image editing application, convert these into .jpg and .png images and then simply insert the image files into your posts.

Use WordPress Chart & Graph Plugins

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

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

WP Plugin: Visualizer

WordPress Plugin: Visualizer

Visualizer URL

You can install the plugin inside your WordPress dashboard (we show you how to do this further below), or download the Visualizer plugin the WordPress free plugin repository using the link below:

http://wordpress.org/plugins/visualizer

Plugin Description

WordPress Visualizer is a simple, easy to use and powerful plugin that lets you create, manage and embed dynamic graphs 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 addons are needed.

WordPress 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

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 site’s design. Several 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 blog or site visitors can see your charts and graphs on their mobile web browsers without having to install any extra software.

How To Install The Plugin

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

WordPress Step-By-Step Plugin Tutorial

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

Install WordPress Plugin: Visualizer

Locate the plugin in the search results area and click Install Now …

Install WP Plugin: Visualizer

Click OK to go ahead …

Install Visualizer Plugin For WordPress

Activate the plugin after installation is successful …

Install Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer - WP Plugin

Once your plugin has been activated, click on Library …

Install Visualizer - WordPress Plugin

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

WordPress Plugins

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

Visualizer

After installing the plugin, the library section will be empty.

Your next step is to add add charts and graphs to the library.

Visualizer Configuration

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

Visualizer - WP Plugin

A gallery displaying all of the default kinds of charts and graphs available will come up on your screen.

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

Visualizer

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

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

Visualizer

Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data correctly …

Visualizer

If you are not sure how to format your CSV file, just study the sample supplied with the plugin.

Once you have completed this step, select your 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

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

Visualizer

The plugin imports the data and displays it using the graph/chart type chosen …

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer Plugin For WordPress

Info

For a step-by-step tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:

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

WordPress Plugin: Visualizer

Depending on the chart or graph type you’ve selected, the plugin will display various customization settings …

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

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

Once you’re satisfied with the look of your chart or graph, click on the ‘Create Chart’ button …

WordPress Plugin: Visualizer

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

Visualizer

Note that every element is given a unique ID displayed as a shortcode. As you will see in a moment, this allows you to insert charts and graphs into your posts and pages very quickly …

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

Plugin Usage

After creating a element and adding it to Visualizer, it’s easy to insert it into 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 your content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

Visualizer

This will place a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

After your post/page has been published, click ‘View post’ to see the end result …

Visualizer Plugin For WordPress

Your chart or graph will show up in where you have added the shortcode …

Visualizer

As mentioned previously, Visualizer also displays responsive visual elements for mobile browsing …

WP Plugin: Visualizer

As you can see, Visualizer lets you insert and customize dynamic charts and graphs in your content. You can modify 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 dynamic chart information in WordPress.

Tutorial

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

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

Congratulations! Now you know how to add beautiful and mobile-responsive charts and graphs to WordPress with WP Visualizer.

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

***