How To Add Charts And Graphs To WordPress

Learn how to create, manage and embed stunning graphs into your WordPress posts and pages with a few simple steps.

How To Add Charts And Graphs To A WordPress Page

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

Using graphs and charts is a great way to break up long text passages, 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 numbers, percentages and comparisons quickly, then charts and graphs are perfect for helping them visualize your data.

Adding Mobile-Responsive Charts To A Page In WordPress

Charts and graphs help you explain complex information so people can more easily understand it!

Need to add charts or graphs to your WordPress content? This tutorial shows you how to use the WordPress Visualizer plugin – a simple, easy to use and powerful tool that allows you to create, manage and embed attractive and dynamic graphs and charts into your WordPress posts and pages with a few mouse clicks that:

  • Your web visitors can engage with
  • Allows you to add data from your computer or an online data source
  • Resizes dynamically for mobile viewers

Visualizer - WordPress Plugin

Useful Tip

If you are displaying visual data like bar charts, comparison data or trending graphs that contain static information (e.g. historical data), a simple method you can use is to create the charts or graphs using a desktop application, convert these into jpg or png files and then simply add your images to your site content.

If you want to easily create dynamic bar charts and graphs in WordPress, however, (especially if you want to do this with no code editing skills required, then a simple way to do this is by using a plugin.

Fortunately, there is a WordPress plugin that is simple to install, easy-to-use and allows you to not only create appealing and interactive charts and graphs, but also populate your graphs and charts with updatable content.

Visualizer

Visualizer Plugin For WordPress

Visualizer URL

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

http://wordpress.org/plugins/visualizer

Visualizer Description

WP Visualizer is an easy-to-use and powerful WordPress plugin that lets you create, manage and embed attractive and mobile-responsive graphs into your WordPress posts and pages with a few simple steps.

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 are required.

Visualizer also contains 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

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 web design. Several options are available for each chart that allow you to 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 additional software.

How To Install WP Visualizer

From your WordPress administration area, select Plugins > Add New from the main admin menu …

WordPress Step-By-Step Tutorial

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

Install Visualizer

Locate Visualizer in the search results screen and click Install Now

Install WP Plugin: Visualizer

Click OK to continue …

Install Visualizer

Activate the plugin after installation is successful …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins page …

Install Visualizer - WordPress Plugin

After 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 dashboard menu …

Install Plugin

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

WordPress Plugin: Visualizer

After installing the plugin, this 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 pages or posts.

How To Configure The Visualizer Plugin

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

WP Plugin: Visualizer

A gallery displaying all of the default kinds of 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 - WP Plugin

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

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

Visualizer - WP Plugin

Important

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data …

Visualizer - WP Plugin

If you are unsure about how to format your CSV file, simply download the sample 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 your CSV file from your computer select ‘From Computer‘ …

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Upload CSV File From The Web

Visualizer - WP Plugin

Useful Information

For a tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

How To Populate Data Using Google Spreadsheet

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

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer

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

WordPress Plugin: Visualizer

Note that new visual elements are given a unique ID displayed as a shortcode. As you will see in a moment, this allows you to easily embed graphs and charts into your content …

Visualizer

Graphs and charts added to the Visualizer Library can easily be accessed by type …

WordPress Plugin: Visualizer

After an element has been added to the ‘Visualizer Library’, you can edit it, duplicate it, or delete it …

Visualizer - WordPress Plugin

Visualizer Plugin Usage

Once you’ve created a chart or graph and added it to the Visualizer Library, it’s really simple to insert it into your pages and posts.

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 the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

WordPress Plugin: Visualizer

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

Visualizer

This adds a shortcode for the element into your content …

Visualizer - WordPress Plugin

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

Publishing A WordPress Post

After updating the page, click ‘View post’ to see the result …

WP Plugin: Visualizer

Your chart will show in the location you specified …

Visualizer Plugin For WordPress

As mentioned earlier, the plugin also displays responsive graphs for mobile device screens …

Visualizer - WP Plugin

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes working with dynamic graph information in WordPress very easy.

Tutorial

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

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

WordPress Visualizer – Additional Tutorials

Congratulations! Now you know how to easily add attractive and interactive pie charts and graphs to WordPress with WordPress Visualizer plugin.

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

Disclaimer: This site has no direct association with WordPress, Automattic, or any products promoted on this site. We may receive an affiliate commission of financial benefit from the sale of third-party products or services mentioned on this website. All images are the copyright of their respective owners and comply with all license terms and agreements of use.

Get Thrive Leads for WordPress

***

Did you find this article useful? Feel free to share this post using the social links below.

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and has authored hundreds of FREE WordPress tutorials for beginners. WPCompendium.org provides detailed step-by-step tutorials that will teach you how to use WordPress with no coding skills required and at minimal cost!

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