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

Create Charts And Graphs In A Page Or Post In WordPress

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This is certainly true when you are presenting or explaining complex data.

Using graphs and charts can help to break up content that contains lots of text, and make statistical data easier to understand.

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

How To Create Appealing Graphs And Charts In A WordPress Post

Graphs and charts help explain complex information so your audience can more easily understand it!

If you need to learn how to display dynamic visual content on your WordPress site using charts and graphs, this tutorial will show you how to create and add beautiful and updatable charts to your WordPress posts that:

  • Your visitors can interact with
  • Allows you to add data from your hard drive or an online data source
  • Is responsive for mobile viewers

Visualizer - WP Plugin

Useful Tip

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

Use WordPress Chart & Graph Plugins

If you want to easily create dynamic bars and pie graphs in your WordPress pages with no coding skills required, the easiest way to do this is to use a plugin.

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

WP Plugin: Visualizer

Visualizer

Visualizer Plugin URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

Visualizer is a simple, easy to use and powerful WP plugin that allows you to create, manage and embed eye-catching and dynamic charts and 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 extra components are required.

WordPress Visualizer also contains a variety of charts that are optimized to address 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 site’s design. Several options are available for each chart that allow you to further customize their look.

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 devices without requiring the installation of additional software.

Plugin Installation

From your WP dashboard, select Plugins > Add New from the navigation sidebar menu …

WordPress Plugins

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

Install Visualizer Plugin For WordPress

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

Install WordPress Plugin: Visualizer

Click OK to continue …

Install Visualizer Plugin For WordPress

Activate the plugin after installing it …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer Plugin For WordPress

After your plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

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

How To Intall WP Plugins

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

Visualizer Plugin For WordPress

When you first install the plugin, the library will contain no charts.

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

Visualizer Configuration

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

WordPress Plugin: Visualizer

A visual gallery displaying all of the different types of graphs and charts available will load on your screen.

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

Visualizer - WordPress Plugin

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

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

Visualizer - WordPress Plugin

Useful Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data correctly …

Visualizer

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

Once you have completed this step, select the data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.

Upload CSV File From Computer

To upload your CSV file from your hard drive select ‘From Computer‘ …

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

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

Visualizer

Upload CSV File From The Web

Visualizer - WordPress Plugin

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, make sure that all of the information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and then click ‘Next‘ …

Visualizer - WP Plugin

Depending on the chart or graph type you have selected, the plugin will display a range of customization settings …

WP Plugin: Visualizer

Visualizer gives you total control of your information, and updates your display in real time …

WP 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 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).

WP Plugin: Visualizer

Once you are happy with the way your graph or chart looks, click Create Chart

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

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 insert graphs and charts into your WordPress posts very easily …

Visualizer

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

Visualizer

After a new element has been added to the ‘Visualizer Library’, you can edit its details, clone it, or trash it …

Visualizer

Visualizer Usage

After creating a graph or chart and adding it to the Library, adding it to posts and pages is really 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

Find the chart or graph to be added to your content and click the “insert” icon …

Visualizer Plugin For WordPress

This will place a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

As mentioned previously, the plugin also displays responsive charts for viewing on mobile devices …

Visualizer

As you can see, WordPress Visualizer lets you add and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected throughout your website. This is one of the great benefits of using the Visualizer plugin if you’re working with 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, copying, deleting and adding data to your charts, go to the site below:

Congratulations! Now you know how to insert great-looking bar charts and graphs into WordPress.

***

"I love the way your email series "Infinite Web Content Creation Training Series" is documented and presented. It is very absorbing and captivating. The links and tutorials are interesting and educational. This has motivated me to rewrite my content following the concepts I am learning from the email series." - Mani Raju, www.fortuneinewaste.com

***