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 In A Page Or Post In WordPress

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

Using graphs and charts can help to break up long passage of technical information, and make technical data more easily digestible.

You can use tables to present information, but if you want your audience to try and interpret complex information with figures, trends and relationships more easily, then charts and graphs allow you to present your information in a meaningful and intelligent way that can be easily processed.

How To Insert Graphs Into Posts And Pages In WordPress

Charts and graphs help present complex data so people can more easily interpret it!

If you need to learn how to present dynamic visual content on your WordPress site like charts and graphs, this tutorial will show you exactly how to create colorful and updatable charts and graphs to your pages that:

  • Your visitors can interact with
  • Allows you to add data from your computer or an online source of data
  • Is fully responsive for mobile browsers

WP Plugin: Visualizer

Tip

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

Use WordPress Chart & Graph Plugins

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

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

WP Plugin: Visualizer

Visualizer Plugin For WordPress

Plugin URL

You can install the plugin in your WordPress dashboard (see a little further below), or download WP Visualizer from the link below:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and embed eye-catching 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 additional components are needed.

Visualizer also contains a variety of built-in 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.

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 web visitors can see your charts and graphs on their mobile device browsers without requiring the installation of additional plugins.

How To Install Visualizer

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

WordPress Plugin Tutorial

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

Install Visualizer Plugin For WordPress

Locate the plugin in the search results screen and click Install Now

Install Visualizer

Click OK to proceed …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install Visualizer - WordPress Plugin

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 Visualizer Plugin For WordPress

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

How To Intall Plugins

This brings up the plugin’s Visualizer Library page …

Visualizer

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

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

How To Configure The Visualizer Plugin

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

WP Plugin: Visualizer

You will be presented with all of the kinds of graphs 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 pop up in a new window.

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

Visualizer Plugin For WordPress

Important Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as explained above …

Visualizer - WP Plugin

If you are unsure about how to format your CSV file, just refer to the sample spreadsheet provided with the plugin.

Next, 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 and data from your computer select ‘From Computer‘ …

WordPress Plugin: Visualizer

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

Visualizer

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

WordPress Plugin: Visualizer

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important Info

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

WP Plugin: Visualizer

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

Visualizer

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

WordPress Plugin: Visualizer

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

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

Note that new elements are given a unique ID displayed as a shortcode. As you will see shortly, this allows you to embed charts and graphs into your pages and posts easily and quickly …

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

After adding a new element to the ‘Visualizer Library’, you can edit its details, clone it, or delete it …

Visualizer - WP Plugin

Visualizer Plugin Usage

Once you have created a new chart or graph and added it to the Visualizer Library, it’s very simple to insert it into a post or page.

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

Visualizer Plugin For WordPress

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

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

This inserts a shortcode for the element into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

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

WordPress Plugin: Visualizer

Your graph will display in the content …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

As you can see, the Visualizer plugin lets you add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected throughout your site. This is very convenient if you’re working with dynamic graph data in WordPress.

Tutorial

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

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

Congratulations! Now you know how to easily create great-looking and dynamic bar charts and graphs in WordPress.

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***