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

Add Charts And Graphs To A WordPress Page

You’re probably familiar with the old adage “a picture is worth a thousand words.” This is certainly true when you’re presenting and explaining complex data.

Using charts and graphs is great for breaking up content with lots of text, and making data more easily digestible.

You can use tables to present data, but if you want people to try and make sense of complex data with figures, trends and relationships quickly, then charts and graphs let you present the information in an intelligent and meaningful manner that can be easily understood.

Add Colourful Graphs And Charts To A WordPress Page

Graphs and charts help you present complex information so people can more easily understand it!

If you want to display dynamic visual content on your WordPress site like charts and graphs, this tutorial will show you how to create and add beautiful and updatable graphs and charts to your WP pages that:

  • Your site visitors can interact with
  • Lets you upload chart or graph data from your computer or an online data source
  • Resizes dynamically for mobile viewers

Visualizer Plugin For WordPress

Tip

If you plan to display visual data like bar charts, comparison bars or trending graphs which contain information that is not going to change (e.g. historical data), a simple method you can use to add this information is to create the charts or graphs using an image editing application, convert these into jpg and png files and then simply insert the image into your post or page.

Use WordPress Chart & Graph Plugins

If you want to embed interactive 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 WordPress plugin that is simple to install, easy-to-use and allows you to not only create colorful and dynamic graphs and charts, it also lets you populate your charts and graphs with updatable data.

Visualizer Plugin For WordPress

Visualizer Plugin For WordPress

Visualizer URL

You can install the plugin inside your WordPress dashboard (see a little further down the page), or download WP Visualizer here:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WP Visualizer is a simple, easy to use and powerful WordPress plugin that lets you create, manage and embed attractive and dynamic charts and graphs into your WordPress posts and pages in a few mouse clicks.

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

Visualizer also comes with 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

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

Plugin Installation

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

Installing WP Plugins

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

Install Visualizer Plugin For WordPress

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

Install Visualizer

Click OK to go ahead …

Install Visualizer - WordPress Plugin

Activate the plugin after successfully installing it …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install WP Plugin: Visualizer

Once your plugin has been activated, click on Library

Install Visualizer

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

WP Plugins

This brings up the plugin’s Visualizer Library settings …

Visualizer Plugin For WordPress

After installing the plugin, this section will be empty.

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

How To Configure The Plugin

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

Visualizer Plugin For WordPress

A gallery displaying all of the types of charts and graphs available will come up on your screen.

Select the graph or chart type 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 lightbox.

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

WordPress Plugin: Visualizer

Info

When creating your CSV data file, make sure that:

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

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

Visualizer - WordPress Plugin

If you are not sure how to format your data CSV, simply study the sample file provided with the plugin.

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

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

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

WP Plugin: Visualizer

Upload CSV File From The Web

Visualizer

Useful 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 your data, check 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‘ …

Visualizer

Depending on the chart or graph type you have picked, the plugin will display a range of customization options …

Visualizer

The plugin gives you complete control of your chart or graph, and updates your display in real time …

Visualizer Plugin For WordPress

For example, the pie chart offers many configurable options, including:

  • 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

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

Visualizer Plugin For WordPress

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

Visualizer

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

Visualizer

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

Visualizer Plugin For WordPress

Plugin Usage

After creating a chart or graph and adding it to the Visualizer Library, it’s very easy to add it to a page or post.

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

Visualizer

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

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

Visualizer Plugin For WordPress

This inserts a shortcode into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After the post has been updated, click ‘View post’ to see it …

Visualizer - WP Plugin

Your page or post displays your item in where you have inserted the shortcode …

WP Plugin: Visualizer

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

Visualizer

As you can see, the Visualizer plugin allows you to add 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 information in WordPress really efficient.

Tutorial

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

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

Congratulations! Now you know how to easily insert stunning charts and graphs into your WordPress pages and posts.

***

"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

***

Recommended Video Courses For WordPress Users

Using S2 MemberUsing S2 Member

Learn how to set up and configure a WordPress membership site using the S2 Member free WordPress membership plugin.

More info: Using S2 Member

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPressBuild An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Add Charts And Graphs To WordPress.