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

Inserting Colorful Graphs And Charts Into WordPress Posts And Pages

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

Using charts and graphs can help to make technical data easier to grasp.

You can present data with tables, but if you want people to try and interpret complex data with numbers, percentages or comparisons easily, then graphs and charts are perfect for helping them interpret your information.

Embed Graphs And Charts Into Posts In WordPress

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

If you want to learn how to display information visually and dynamically on your WordPress site like graphs and charts, this step-by-step tutorial will show you exactly how to create and add attractive and interactive graphs and charts to your WP posts that:

  • Your web visitors can engage with
  • Lets you upload data from your hard drive or an online source of data
  • Will resize dynamically for mobile device users

WP Plugin: Visualizer

Useful Tip

If you are displaying visual data like bar charts, comparison bars or trending graphs that contain 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 and .png images and then simply add your image to your content.

Use WordPress Chart & Graph Plugins

If you want to create interactive bar charts and graphs in WordPress 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 great-looking and dynamic graphs and charts, it also lets you populate your charts and graphs with dynamic data.

Visualizer – WordPress Plugin

Visualizer - WP Plugin

Visualizer Plugin URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

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

WordPress 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 extra plugins or add-ons are required.

Visualizer also contains a variety of built-in 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 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 web design. Various options are available for each chart that let you 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 browsers without requiring the installation of any extra plugins.

How To Install The Visualizer Plugin

Inside your WordPress dashboard, select Plugins > Add New from the main admin menu …

Install Plugins

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

Install Visualizer - WP Plugin

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

Install Visualizer

Click OK to proceed …

Install WP Plugin: Visualizer

Activate the plugin after successfully installing it …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer Plugin For WordPress

After the plugin has been activated, click on Library

Install Visualizer - WP Plugin

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

WP Step-By-Step

This brings up the plugin’s Visualizer Library options …

Visualizer Plugin For WordPress

When you first install the plugin, this section will be empty.

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

Visualizer Configuration

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

Visualizer

A visual gallery displaying all the kinds of graphs available will load on your screen.

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

WP Plugin: Visualizer

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

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

WP Plugin: Visualizer

Useful Information

When creating your CSV data file, make sure that:

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

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

Visualizer

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

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer

Important

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

For example, the pie chart offers many 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).

WP Plugin: Visualizer

Once you’re satisfied with the look of your graph or chart, click Create Chart

Visualizer

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

Plugin Usage

After creating a new graph or chart and adding it to the Visualizer Library, it’s really very simple to insert it into posts or pages.

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

Visualizer Plugin For WordPress

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

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

WordPress Plugin: Visualizer

This will add a shortcode into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After updating your page/post, click ‘View post’ to see it …

WordPress Plugin: Visualizer

The graph or chart will show up in the location you specified …

Visualizer

As mentioned previously, Visualizer also displays responsive charts and graphs for mobile devices …

Visualizer Plugin For WordPress

As you can see, Visualizer lets you insert and customize dynamic charts and graphs in your content. You can update your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This makes managing dynamic chart information in WordPress very efficient.

Tutorial

The developers of this plugin have created a number of tutorials you can refer to to learn how to edit, customize and use the Visualizer plugin for WordPress.

For additional tutorials on editing, copying, deleting and adding data to your charts, go to the website below:

Congratulations! Now you know how to create stunning and mobile-responsive charts and graphs in WordPress.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

***