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

Inserting Attractive Graphs Into WordPress Pages

You’re probably familiar with the old saying “a picture is worth a thousand words.” This is certainly true when you are trying to present and explain data.

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

You can present information using tables, but if you want people to try and interpret complex data with numbers, trends or comparisons quickly, then graphs and charts allow you to present data in an intelligent and meaningful way that can be easily processed.

Create Graphs In A Page In WordPress

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

If you want to learn how to present dynamic visual content on your WordPress site like charts and graphs, this step-by-step tutorial will show you exactly how to create and add great-looking and interactive charts to your pages that:

  • Your site visitors can engage with
  • Allows you to upload chart or graph data from your computer or an online source of data
  • Is fully responsive for mobile browsing

Visualizer Plugin For WordPress

Tip

If you are displaying visual data like pie charts, comparison data or trending graphs containing static information (e.g. historical data), an easier way to display your data is to create your graphs or charts using a desktop application, convert these into .jpg and .png files and then simply insert your images into your post or page.

Use WordPress Chart & Graph Plugins

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

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

Visualizer Plugin For WordPress

WordPress Plugin: Visualizer

Visualizer Plugin URL

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

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is an easy-to-use and powerful plugin that lets you create, manage and insert appealing charts and graphs into your WordPress posts and pages with just a few mouse clicks.

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 plugins or add-ons are needed.

The plugin also contains a variety of charts 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

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 site’s design. A number of 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 blog or site visitors can see your charts and graphs on their mobile browsers without requiring the installation of any extra plugins.

Plugin Installation

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

WP Step-By-Step Tutorial

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

Install WP Plugin: Visualizer

Locate Visualizer in the search results section and click Install Now

Install Visualizer Plugin For WordPress

Click OK to go ahead …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install WP Plugin: Visualizer

After the plugin has been activated, click on Library

Install Visualizer

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

WP Step-By-Step Tutorial

This takes you to the plugin’s Visualizer Library options page …

Visualizer Plugin For WordPress

After installing the plugin, the library will contain no charts.

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

Plugin Configuration

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

WP Plugin: Visualizer

You will be presented with all the different kinds of charts available.

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

WP Plugin: Visualizer

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

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

Visualizer

Important

When creating your CSV data file, make sure that:

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

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

Visualizer

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

Visualizer - WordPress Plugin

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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer - WordPress Plugin

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 the data, make sure that all of your information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and click ‘Next‘ …

WP Plugin: Visualizer

Depending on the chart or graph type you’ve picked, the plugin displays various customization options and settings …

Visualizer

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

Visualizer

For example, the pie chart offers many 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 are happy with how your chart or graph looks, click on the ‘Create Chart’ button …

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

Note that new elements are given a unique ID displayed in a shortcode. As you will see very soon, this lets you add charts and graphs to your WordPress content quickly …

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer

Visualizer Plugin Usage

Once you have created a chart or graph and added it to Visualizer, it’s very simple to add it to pages or posts.

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 your content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

WP Plugin: Visualizer

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

Visualizer

This inserts a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

Your page or post should display your graph in the location you specified …

Visualizer

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

Visualizer - WordPress Plugin

As you can see, 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 throughout your site. This is a real time-saver if you’re managing interactive graph information in WordPress.

Tutorial

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

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

Congratulations! Now you know how to easily create great-looking and mobile-responsive bar charts and graphs in WordPress.

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

***