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 Charts To WordPress Posts

No doubt you’re familiar with the saying “a picture is worth a thousand words.” This is certainly true when you are presenting or explaining complex data.

Using charts and graphs is useful for making technical or statistical data a lot easier to understand.

You can use tables to present data, but if you want people to try and interpret complex information with figures, trends and relationships easily, then charts and graphs are perfect for helping them understand your data.

How To Insert Charts Into Pages In WordPress

Graphs and charts help present complex data so people can more easily interpret it!

If you want to display information visually and dynamically on your WordPress site like graphs and charts, this tutorial will show you how to create and add colorful and updatable graphs and charts to your WordPress posts and pages that:

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

Visualizer Plugin For WordPress

Tip

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

Use WordPress Chart & Graph Plugins

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

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

Visualizer

Visualizer Plugin For WordPress

Plugin URL

You can install the plugin in your WordPress dashboard (see a little further down the page), or download Visualizer the WP free plugin directory using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and insert eye-catching graphs and charts 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.

The plugin also contains 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 the look and feel of your website. Several options are available for each chart that let you 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 visitors can see your charts and graphs on their mobile devices without requiring the installation of extra software.

How To Install The Visualizer Plugin

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

WP Step-By-Step Plugin Tutorial

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

Install WP Plugin: Visualizer

Locate the item in the search results area and click Install Now

Install Visualizer - WordPress Plugin

Click OK to go ahead …

Install Visualizer - WP Plugin

Activate the plugin …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer Plugin For WordPress

Once the plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

You can get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library in the admin menu …

WP Step-By-Step Plugin Tutorial

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

Visualizer - WP Plugin

After installing the plugin, this section will be empty.

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

How To Configure The Plugin

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

Visualizer

A gallery displaying all of the default types of charts and graphs 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

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

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

Visualizer Plugin For WordPress

Useful Information

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data correctly …

WordPress Plugin: Visualizer

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

Once you have done this, 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 computer select ‘From Computer‘ …

Visualizer - WP Plugin

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

Visualizer

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

WordPress Plugin: Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

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

Visualizer

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

WordPress Plugin: Visualizer

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

Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer

Visualizer Usage

After you’ve created a graph or chart and added it to the Visualizer Library, adding it to a post is really simple.

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

Visualizer - WP Plugin

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

@@@

Click on ‘Visualizations‘ …

Visualizer - WP Plugin

Select the chart or graph you want to insert into your content and click on the “insert” icon …

WordPress Plugin: Visualizer

This will place a shortcode into your content …

Visualizer

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

Publishing A WordPress Post

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

WordPress Plugin: Visualizer

You will see the visual element in the location you specified …

Visualizer Plugin For WordPress

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

Visualizer

As you can see, WordPress Visualizer allows you to add and customize dynamic charts and graphs in your content. You can update your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes managing dynamic graph information in WordPress very efficient.

Tutorial

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

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

Congratulations! Now you know how to easily add beautiful and interactive charts and graphs to WordPress.

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

***