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

You’re probably familiar with the old 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 a great way to break up long text passages, and make technical or statistical data more easily digestible.

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

How To Insert Colorful Graphs Into A WordPress Post

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

Need to add charts and graphs to WordPress? This step-by-step tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful plugin for WordPress that allows you to create, manage and embed great-looking and dynamic charts and graphs into your WordPress posts and pages in a few simple steps that:

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

Visualizer - WordPress Plugin

Tip

If you plan to display visual data like bar charts, comparison graphs or trending graphs that contain static information (e.g. historical data), a simple method you can use to display the data is to create your graphs or charts using a desktop application, convert these into images and then simply add the image to your pages or posts.

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a great free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create eye-catching and interactive graphs and charts, it also lets you populate your charts and graphs with updateable information.

Visualizer

Visualizer

Plugin URL

You can install the plugin in your WordPress dashboard (we explain how to do this further down the page), or access and download the WP Visualizer plugin here:

http://wordpress.org/plugins/visualizer

Visualizer Description

WP Visualizer is a simple, easy to use and powerful tool that lets you create, manage and embed stunning graphs and charts into your WordPress posts and pages in a few simple steps.

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 additional plugins are needed.

The plugin also comes with a variety of charts that are optimized to address 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 flexible and customizable, allowing you to use Google Chart Tools with their default setting, or configure an extensive set of options to match your web 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 blog or site visitors can see your charts and graphs on their mobile browsers without having to install any extra plugins.

How To Install The Visualizer Plugin

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

Install Plugins

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

Install Visualizer - WP Plugin

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

Install WordPress Plugin: Visualizer

Click OK to go ahead …

Install WP Plugin: Visualizer

Activate the plugin …

Install Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

After your plugin has been activated, click on Library

Install Visualizer Plugin For WordPress

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

How To Intall Plugins

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

Visualizer - WP Plugin

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

Your next step is to add the charts and graphs to your library that you will want to display in your posts or pages.

How To Configure The Visualizer Plugin

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

Visualizer

You will see all of the different types of charts available.

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

Visualizer Plugin For WordPress

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

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

Visualizer Plugin For WordPress

Important

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as required …

Visualizer Plugin For WordPress

If you are not sure how to format your data CSV, just download the sample spreadsheet that comes 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 and data from your hard drive select ‘From Computer‘ …

Visualizer

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

Visualizer

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

Visualizer

Upload CSV File From The Web

Visualizer - WordPress Plugin

Info

For a tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

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 then click ‘Next‘ …

Visualizer - WordPress Plugin

Depending on the chart or graph type you’ve picked, the plugin will display a range of customization settings …

Visualizer - WP Plugin

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

WordPress Plugin: Visualizer

For example, the pie chart offers many configurable options, such as:

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

Visualizer

Once you’re satisfied with how your chart or graph is looking, click on the ‘Create Chart’ button …

WP Plugin: Visualizer

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

WordPress Plugin: Visualizer

Note that new visual elements are given a unique ID displayed in a shortcode. As you will see in a moment, this lets you embed graphs and charts into your WordPress posts easily …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Visualizer Usage

Once you’ve created a graph or chart and added it to Visualizer, it’s simple to add it to your posts and pages.

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 your content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer

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

Visualizer Plugin For WordPress

This inserts a shortcode for the element into your content …

Visualizer

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

Publishing A WordPress Post

Once the page has been updated, click ‘View post’ to see the result …

WP Plugin: Visualizer

Your visual element will show up in where you placed the shortcode …

Visualizer Plugin For WordPress

As mentioned earlier, the plugin also displays responsive visual elements for mobile device browsers …

Visualizer Plugin For WordPress

As you can see, 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 is very convenient if you’re adding dynamic graph data in WordPress.

Tutorial

The developers of this plugin have created a number of tutorials you can use to learn how to edit, customize and use WordPress 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 stunning pie charts and graphs into your WordPress posts.

***

"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

***