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

Create Great-Looking Charts In A Post Or Page In WordPress

You’ve heard the saying “a picture is worth a thousand words.” This certainly applies when you’re trying to present or explain data.

Using charts and graphs is useful for making statistical data and information more easily digestible.

You can use tables to present information, but if you want your audience to try and make sense of complex information with numbers, trends and comparisons quickly, then graphs and charts let you present your data in an intelligent and meaningful manner that can be quickly processed.

How To Create Graphs In A WordPress Page

Graphs and charts help explain complex data so people can more easily understand it!

Need to add charts and graphs to your WordPress posts? This step-by-step tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful tool that lets you create, manage and embed eye-catching graphs and charts into your WordPress posts and pages in just a few mouse clicks that:

  • Your site visitors can engage with
  • Allows you to add chart or graph data from your hard drive or an online source of data
  • Will dynamically resize for mobile viewing

Visualizer

Tip

If you plan to display visual data like pie charts, comparison charts or trending graphs containing static information (e.g. historical data), an easier option is to create your graphs or charts using an image editing application, convert these into images and then simply insert your images into your page or post.

Use WordPress Chart & Graph Plugins

If you want to create interactive bars and graphs in WordPress with no coding skills required, the easiest way to do this is to use a plugin.

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

Visualizer

Visualizer - WordPress Plugin

Visualizer URL

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

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

Visualizer is an easy-to-use and powerful tool that lets you create, manage and embed beautiful and interactive 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 add-ons are required.

The plugin also comes with a variety of charts optimized for 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 the look and feel of your website. Various options are available for each chart that allow you to 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 web visitors can see your charts and graphs on their mobile browsers without having to install any additional plugins.

Plugin Installation

Inside your WP administration area, select Plugins > Add New from the dashboard menu …

Installing Plugins

In the Add Plugins screen type in “visualizer” into the search field and click enter …

Install Visualizer Plugin For WordPress

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

Install WordPress Plugin: Visualizer

Click OK to go ahead …

Install Visualizer - WP Plugin

Activate the plugin after installation is successful …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

Once the plugin has been activated, click on Library

Install Visualizer

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

WordPress Step-By-Step Tutorial

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

WP Plugin: Visualizer

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

The next step is to add the charts and graphs to your library that you will want to display in your content.

How To Configure Visualizer

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

Visualizer Plugin For WordPress

A gallery displaying all of the default kinds of charts available will load on your screen.

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

Visualizer

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

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

Visualizer - WordPress Plugin

Info

When creating your CSV data file, make sure that:

  • The first row contains the column headings.
  • Your second row includes the series type (e.g. boolean, timeofday, etc.)

The screenshot below shows how to format your data as per the above requirements …

WordPress Plugin: Visualizer

If you are unsure about how to format your CSV file, just study the sample CSV file that comes with the plugin.

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

Visualizer - WP Plugin

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

WP Plugin: Visualizer

The plugin will now import your data and display it using the graph/chart type chosen …

Visualizer - WP Plugin

Upload CSV File From The Web

WP Plugin: Visualizer

Useful Info

For a step-by-step tutorial that explains how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:

After importing your data, check that all of your information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and then click ‘Next‘ …

Visualizer - WordPress Plugin

Depending on the chart or graph type you have chosen, the plugin displays various customization settings and options …

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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 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 appears, click Create Chart

Visualizer - WP Plugin

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

WP Plugin: Visualizer

Note that new visual elements are given a unique ID displayed as a shortcode. As you will see very soon, this lets you insert graphs and charts into your WordPress pages very quickly …

Visualizer - WP Plugin

Graphs and charts added to the Visualizer Library can 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 its details, clone it, or trash it …

Visualizer - WordPress Plugin

Plugin Usage

Once you have created a chart or graph and added it to the Library, it’s easy to insert it into your posts and 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 the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

Visualizer

This will add a shortcode for the element into your content …

Visualizer

After you have finished adding your shortcode, click on Publish to publish (or update) your post or page …

Publishing A WordPress Post

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

WP Plugin: Visualizer

Your post or page should display your item in the location where you’ve added the shortcode …

Visualizer

As mentioned previously, the plugin also displays responsive elements for mobile devices …

Visualizer - WordPress Plugin

As you can see, Visualizer allows you to insert and customize dynamic charts and graphs in your content. You can update your data and your changes will automatically be reflected throughout your website. This makes adding interactive graph data in WordPress really easy.

Tutorial

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

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

Congratulations! Now you know how to insert attractive and mobile-responsive pie charts and graphs into WordPress with WP Visualizer plugin.

***

"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya

***