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 Create Charts And Graphs In Posts In WordPress

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

Charts and graphs are a great way to make statistical data easier to digest.

You can use tables to present data, but if you want people to try and interpret complex information with numbers, percentages or relationships quickly, then charts and graphs allow you to present your information in a meaningful and intelligent manner that can be easily processed.

Inserting Updatable Charts And Graphs Into A Post In WordPress

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

If you need to display dynamic visual content on your WordPress site using charts and graphs, this step-by-step tutorial will show you how to create and add appealing and interactive charts and graphs to your pages that:

  • Your web visitors can interact with
  • Allows you to upload chart or graph data from your hard drive or an online data source
  • Is responsive for viewing on mobile devices

Visualizer Plugin For WordPress

Useful Tip

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

Use WordPress Chart & Graph Plugins

If you want to easily create interactive bar charts and pie graphs in 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 that is simple to install, easy-to-use and allows you to not only create stunning and interactive graphs and charts, it also lets you populate your charts and graphs with dynamic content.

WordPress Plugin: Visualizer

WordPress Plugin: Visualizer

Visualizer URL

You can install the plugin from your WP dashboard (we show you how to do this a little further down the page), or download WP Visualizer here:

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is a simple, easy to use and powerful tool that lets you create, manage and insert great-looking and interactive graphs into your WordPress posts and pages with 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 plugins are needed.

WordPress Visualizer also comes with a variety of charts 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

The plugin 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. A number of options are available for each chart that let you 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 blog or site visitors can see your charts and graphs on their mobile device browsers without having to install extra software.

Plugin Installation

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

Install Plugins

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

Install Visualizer Plugin For WordPress

Locate Visualizer in the search results screen and click the “Install Now” button …

Install Visualizer Plugin For WordPress

Click OK to go ahead …

Install WordPress Plugin: Visualizer

Activate the plugin …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer

Once your plugin has been activated, click on Library

Install Visualizer - WP Plugin

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

WP Step-By-Step Tutorial

This brings up the plugin’s Visualizer Library options …

Visualizer

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

The next step is to add the charts and graphs to your library that you plan to publish to your pages and posts.

How To Configure Visualizer

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

Visualizer - WordPress Plugin

A visual gallery displaying all of the 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

The graph/chart type will pop up in a lightbox.

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

WP Plugin: Visualizer

Info

When creating your CSV data file, make sure that:

  • Your 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 download the sample CSV file 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 the CSV file from your computer select ‘From Computer‘ …

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

Upload CSV File From The Web

Visualizer

Info

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 containing the right data), and then click ‘Next‘ …

Visualizer

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

WordPress Plugin: Visualizer

The plugin gives you full control over 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 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 - WordPress Plugin

Once you are happy with how your chart or graph appears, click on the ‘Create Chart’ button …

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Note that every element is given a unique ID displayed in a shortcode. As you will see shortly, this lets you easily embed graphs and charts into your content …

Visualizer

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

Visualizer - WP Plugin

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

Visualizer

Visualizer Plugin Usage

Once you’ve created a element and added it to the Library, adding it to a post is very simple.

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

Visualizer

Next, place your mouse cursor where you want to insert your visual element into your content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

This adds a shortcode into your content …

Visualizer - WordPress Plugin

Once you have added the element, click on Publish to publish (or update) your page or post …

Publishing A WordPress Post

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

WP Plugin: Visualizer

You will see your item in your content …

Visualizer

As mentioned earlier, Visualizer also displays responsive graphs for mobile screens …

Visualizer

As you can see, the Visualizer plugin lets you insert and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected throughout your website. This is a real time-saving feature of the plugin if you’re adding interactive chart data in WordPress.

Tutorial

The plugin developers 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, go to the website below:

Congratulations! Now you know how to easily insert colorful charts and graphs into WordPress with WP Visualizer.

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

***