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 …

Get Thrive Leads for WordPress

How To Add Charts And Graphs To WordPress

Add Attractive Graphs To Posts And Pages In WordPress

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

Charts and graphs help to break up long chunks of technical information, and make data 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 or relationships more easily, then charts and graphs allow you to present data in a meaningful and intelligent manner that can be easily understood.

How To Create Graphs In Pages In WordPress

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

If you need to learn how to display information visually and dynamically on your WordPress site like charts and graphs, this tutorial will show you how to create and add great-looking and updateable graphs and charts to your posts that:

  • Your visitors can engage with
  • Allows you to upload data from your computer or a web-based source of data
  • Dynamically resizes for mobile browsers

Visualizer Plugin For WordPress

Useful Tip

If you are displaying visual data like pie charts, comparison data or trending graphs that contain static information (e.g. historical data), an easier option is to create your graphs or charts using a desktop application, convert these into images and then simply add your images to your site content.

Use WordPress Chart & Graph Plugins

If you want to easily add interactive bar charts and pie charts to your WordPress pages and posts 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 sites that is simple to install, easy-to-use and allows you to not only create stunning and mobile-responsive charts and graphs, it also lets you populate your charts and graphs with updatable information.

WordPress Plugin: Visualizer

Visualizer Plugin For WordPress

Visualizer URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert eye-catching and interactive charts into your WordPress posts and pages with 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 extra 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 a flexible and customizable plugin, 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. Several options are available for each chart that allow you to 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 visitors can see your charts and graphs on their mobile web browsers without requiring the installation of additional plugins.

Plugin Installation

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

WP Plugins

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

Install WordPress Plugin: Visualizer

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

Install Visualizer - WP Plugin

Click OK to continue …

Install WP Plugin: Visualizer

Activate the plugin after installation is successful …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins section …

Install WordPress Plugin: Visualizer

Once the plugin has been activated, click on Library

Install Visualizer - WP Plugin

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

WP Plugin Tutorial

This brings up the plugin’s Visualizer Library section …

WP Plugin: Visualizer

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 plan to insert into your content.

How To Configure The Plugin

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

WP Plugin: Visualizer

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

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

WordPress Plugin: Visualizer

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

The next step is to upload a CSV file containing the data you would like to populate your chart or graph with …

Visualizer Plugin For WordPress

Important

When creating your CSV data file, ensure that:

  • Your first row contains the column headings.
  • The second row contains the series type (e.g. string, date, etc.)

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

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

Locate and select your file and then click on ‘Open‘ …

Visualizer

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

Visualizer

Upload CSV File From The Web

WordPress Plugin: 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, make sure 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 - WP Plugin

Depending on the chart or graph type selected, the plugin will display a range of customization settings …

Visualizer

The WordPress Visualizer plugin gives you complete control of your information, and updates your display in real time …

Visualizer

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

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

Visualizer

Note that every new element is given a unique ID displayed in a shortcode. As you will see shortly, this allows you to add graphs and charts to your WordPress content very quickly …

Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

Visualizer Usage

After creating a graph or chart and adding it to the Visualizer Library, it’s really very simple to add it to posts or 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 the content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

Select the element to be added to your content and click on the “insert” icon …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After publishing the post, click ‘View post’ to see the results …

Visualizer - WordPress Plugin

Your post or page displays the graph or chart in the location you specified …

Visualizer - WP Plugin

As mentioned earlier, the plugin also displays responsive charts and graphs for mobile devices …

Visualizer - WP Plugin

As you can see, Visualizer lets you insert and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your site. This makes working with interactive chart information in WordPress really efficient.

Tutorial

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

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

Congratulations! Now you know how to insert colorful and mobile-responsive charts and graphs into your WordPress pages with WP Visualizer.

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com

***

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

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

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 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

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 owner of WPCompendium.org and the author of The WordPress User Manual. 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.