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 Appealing Charts To A Post Or Page In WordPress

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

Using charts and graphs is useful for making data simpler to understand.

You can use tables to present data, but if you want people to try and interpret complex data with numbers, percentages and relationships quickly, then graphs and charts allow you to present the data in a meaningful and intelligent manner that can be easily understood.

How To Insert Eye-Catching Graphs Into WordPress

Charts and graphs help you present complex data so people can more easily interpret it!

If you need to learn how to display dynamic visual content on your WordPress site using charts and graphs, this tutorial will show you how to create and add appealing and updatable charts to your posts that:

  • Your visitors can engage with
  • Lets you add data from your hard drive or a web-based source of data
  • Will resize dynamically for mobile browsers

Visualizer - WP Plugin

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 way to add your data is to create the graphs or charts using a desktop application, convert these into images and then simply add your images to your pages.

Use WordPress Chart & Graph Plugins

If you want to easily add interactive bars and graphs to WordPress 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 that is simple to install, easy-to-use and allows you to not only create appealing and dynamic graphs and charts, it also lets you populate your charts and graphs with updateable content.

Visualizer Plugin For WordPress

WP Plugin: Visualizer

Visualizer Plugin URL

You can install the plugin in your WordPress dashboard (explained a little further down the page), or access and download WordPress Visualizer the WP plugin directory using 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 attractive and mobile-responsive graphs into your WordPress posts and pages in just 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 addons are required.

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

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. A number of 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 site visitors can see your charts and graphs on their mobile device browsers without having to install extra software.

Plugin Installation

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

WP Plugins

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

Install WordPress Plugin: Visualizer

Locate the entry in the search results screen and click Install Now

Install Visualizer

Click OK to go ahead …

Install Visualizer - WP Plugin

Activate the plugin …

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 WP Plugin: Visualizer

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

WP Plugins

This brings up the plugin’s Visualizer Library page …

Visualizer Plugin For WordPress

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

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

Visualizer Plugin Configuration

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

WordPress Plugin: Visualizer

An image gallery displaying all the types of charts and graphs available will load on your screen.

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

Visualizer - WordPress Plugin

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

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

Visualizer

Important Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data …

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

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

WordPress Plugin: Visualizer

Upload CSV File From The Web

Visualizer Plugin For WordPress

Useful Information

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

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

Visualizer

Depending on the chart or graph type you’ve chosen, the plugin will display various customization settings and options …

WP Plugin: Visualizer

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

Visualizer

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 look of your graph or chart, click on the ‘Create Chart’ button …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Visualizer Usage

After you have created a element and added it to the Library, adding it to a page is very simple.

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

This will place a shortcode into your content …

Visualizer

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

Publishing A WordPress Post

After the page/post has been updated, click ‘View post’ to see the results …

Visualizer - WordPress Plugin

Your page or post displays your element in the location you specified …

Visualizer Plugin For WordPress

As mentioned earlier, the plugin also displays responsive charts for mobile viewers …

Visualizer

As you can see, WordPress Visualizer lets you 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 data in WordPress really efficient.

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

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

Congratulations! Now you know how to insert appealing and dynamic pie charts and graphs into WordPress with WordPress Visualizer.

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum

***