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

How To Insert Stunning Graphs Into Posts And Pages In WordPress

You’re probably familiar with the old saying “a picture is worth a thousand words.” This certainly applies when you’re trying to present or explain complex information.

Using graphs and charts is great for making technical or statistical data much easier to digest.

You can use tables to present information, but if you want people to try and make sense of complex data with figures, percentages and relationships easily, then graphs and charts are perfect for helping them visualize the information.

How To Add Graphs To Pages In WordPress

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

If you want to display information visually and dynamically on your WordPress site like charts and graphs, this step-by-step tutorial will show you how to create and add colourful and updatable graphs and charts to your pages that:

  • Your site visitors can engage with
  • Allows you to upload data from your computer or an online data source
  • Dynamically resizes for mobile browsers

Visualizer

Useful Tip

If you are displaying visual data like bar charts, comparison data or trending graphs containing static information (e.g. historical data), an easier way to display this data is to create the charts or graphs using an image editing application, convert these into images and then simply insert the images into your posts.

Use WordPress Chart & Graph Plugins

If you want to easily create dynamic bars and graphs in your WordPress content with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a plugin for WordPress users that is simple to install, easy-to-use and allows you to not only create great-looking and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with updateable information.

Visualizer – WordPress Plugin

Visualizer - WP Plugin

Visualizer Plugin URL

You can install the plugin from your WordPress dashboard (we will explain how to do this a little further down the page), or download the WordPress Visualizer plugin from the link below:

http://wordpress.org/plugins/visualizer

Plugin Description

The WordPress Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert beautiful and interactive graphs and charts into your WordPress posts and pages in just 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 additional addons are needed.

Visualizer also contains a variety of built-in that are optimized to address 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 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 site visitors can see your charts and graphs on their mobile browsers without having to install any extra software.

Plugin Installation

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

Installing Plugins

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

Install Visualizer Plugin For WordPress

Locate the item in the search results area and click the “Install Now” button …

Install Visualizer - WordPress Plugin

Click OK to go ahead …

Install WP Plugin: Visualizer

Activate the plugin after installation is successful …

Install Visualizer - WP Plugin

You can also activate the plugin in the Plugins area …

Install Visualizer Plugin For WordPress

Once the plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

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

Installing Plugins

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

Visualizer - WP Plugin

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

The next step is to add add charts and graphs to the library.

How To Configure The Visualizer Plugin

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

Visualizer

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

Select the type of graph or chart 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 new window.

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

Visualizer - WordPress Plugin

Useful Info

When creating your CSV data file, make sure that:

  • The first row contains the column headings.
  • The second row contains the series type (e.g. boolean, datetime, etc.)

The screenshot below shows how to format your data …

Visualizer Plugin For WordPress

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

Visualizer

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

Visualizer - WP Plugin

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

Visualizer

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important Info

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

Visualizer

Depending on the chart or graph type you have chosen, the plugin displays a number of customization settings …

Visualizer

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

Visualizer - WP Plugin

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

WP Plugin: Visualizer

Once you’re happy with how your graph or chart is looking, click Create Chart

Visualizer

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

Visualizer Plugin For WordPress

Note that new visual elements are given a unique ID displayed in a shortcode. As you will see shortly, this allows you to add charts and graphs to your WordPress pages easily …

Visualizer - WP Plugin

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

WP Plugin: Visualizer

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

Visualizer

Plugin Usage

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

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

WordPress Plugin: Visualizer

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

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

Visualizer

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

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After updating your page/post, click ‘View post’ to see it …

Visualizer Plugin For WordPress

The visual element will show up in the location you specified …

Visualizer Plugin For WordPress

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

Visualizer

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected throughout your website. This makes working with interactive graph information in WordPress really efficient.

Tutorial

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

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

Congratulations! Now you know how to easily create colorful and dynamic bar charts and graphs in WordPress.

***

"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

***