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

Create Graphs And Charts In A WordPress Post

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

Using charts and graphs is useful for breaking up long text passages, and making data a whole lot simpler to digest.

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

How To Create Charts In A Post In WordPress

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

If you need to learn how to display information visually and dynamically on your WordPress site using graphs and charts, this step-by-step tutorial will show you how to create eye-catching and interactive charts and graphs to your WP pages that:

  • Your visitors can engage with
  • Lets you upload graph or chart data from your hard drive or an online source of data
  • Will resize dynamically for mobile screens

Visualizer

Tip

If you are displaying visual data like pie charts, comparison graphs or trending graphs that contain static information (e.g. historical data), a simple method you can use to display your information is to create your graphs or charts using an image editing application, convert these into images and then simply insert the files and an image into your web content.

Use WordPress Chart & Graph Plugins

If you want to add dynamic bar charts and pie charts 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 sites that is simple to install, easy-to-use and allows you to not only create attractive and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with dynamic content.

Visualizer

WordPress Plugin: Visualizer

Plugin URL

You can install the plugin inside your WordPress dashboard (we show you how to do this further down the page), or download the Visualizer plugin the WordPress free plugin repository using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WordPress Visualizer is an easy-to-use and powerful tool that lets you create, manage and embed great-looking and mobile-responsive charts into your WordPress posts and pages with just a few mouse clicks.

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

Visualizer also comes with a variety of built-in 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 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 let you further 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 devices without having to install any extra plugins.

How To Install WP Visualizer

From your WordPress admin area, select Plugins > Add New from the navigation sidebar menu …

WordPress Step-By-Step Tutorial

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

Install Visualizer

Locate Visualizer in the search results section and click Install Now

Install WordPress Plugin: Visualizer

Click OK to go ahead …

Install Visualizer

Activate the plugin after installation is successful …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install Visualizer Plugin For WordPress

After the plugin has been activated, click on Library

Install Visualizer

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

WP Plugin Tutorial

This brings up the plugin’s Visualizer Library settings …

Visualizer Plugin For WordPress

When you first install the plugin, the library will contain no charts.

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

How To Configure Visualizer

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

Visualizer

A page will load on your screen displaying all the kinds of graphs and charts available.

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

Visualizer

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

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

Visualizer Plugin For WordPress

Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data as required …

Visualizer Plugin For WordPress

If you are not sure how to format your CSV file, simply refer to the sample spreadsheet that comes with the plugin.

Once you have done this, select the data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.

Upload CSV File From Computer

To upload the CSV file and data from your computer select ‘From Computer‘ …

Visualizer

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

Visualizer - WordPress Plugin

The plugin will now import the data and display it using the graph/chart type you have previously chosen …

Visualizer

Upload CSV File From The Web

Visualizer - WP Plugin

Important Info

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

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

For example, the pie chart offers many configurable options, including:

  • 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).

Visualizer Plugin For WordPress

Once you are satisfied with the look of your chart or graph, click Create Chart

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Note that every element is given a unique ID displayed as a shortcode. As you will see very soon, this lets you insert graphs and charts into your WordPress content quickly …

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

After adding an element to the ‘Visualizer Library’, you can edit it, duplicate it, or trash it …

Visualizer - WP Plugin

Visualizer Usage

After creating a graph or chart and adding it to the Library, it’s simple to add it to 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 Add Media

@@@

Click on ‘Visualizations‘ …

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

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

Visualizer - WP Plugin

You will see the item in your content …

WP Plugin: Visualizer

As mentioned previously, Visualizer also displays responsive graphs for mobile users …

WP Plugin: Visualizer

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

Tutorial

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

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

Congratulations! Now you know how to easily insert colorful and interactive pie charts and graphs into your WordPress pages and posts with WordPress Visualizer plugin.

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

***