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

Embed Graphs And Charts Into A Post Or Page In WordPress

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

Graphs and charts are a great way to make technical data much simpler to grasp.

You can use tables to present data, but if you want your audience to try and interpret complex data with numbers, trends or comparisons quickly, then graphs and charts let you present data in an intelligent and meaningful manner that can be quickly processed.

How To Insert Great-Looking Charts Into A Post In WordPress

Graphs and charts help you present complex data so your audience can more easily interpret it!

Need to add charts and graphs to WordPress? This step-by-step 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 great-looking charts and graphs into your WordPress posts and pages that:

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

WordPress Plugin: Visualizer

Practical Tip

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

Use WordPress Chart & Graph Plugins

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

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

Visualizer Plugin For WordPress

WP Plugin: Visualizer

Visualizer Plugin URL

You can install the plugin in your WP dashboard (we show you how to do this a little further down the page), or download the Visualizer plugin the WordPress plugin directory using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WP Visualizer is a simple, easy to use and powerful tool that lets you create, manage and insert colorful graphs into your WordPress posts and pages with 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 additional components are required.

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

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 the look and feel of your website. Several options are available for each chart that let you further customize their look.

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 web visitors can see your charts and graphs on their mobile web browsers without requiring the installation of additional plugins.

Plugin Installation

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

Install Plugins

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

Install Visualizer

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

Install Visualizer - WordPress Plugin

Click OK to proceed …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

Once your plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

WordPress Plugins

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

WP Plugin: Visualizer

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

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

How To Configure The Plugin

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

Visualizer Plugin For WordPress

You will see all of the kinds of charts available.

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 pop up in a new window.

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

Visualizer

Useful Information

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data …

Visualizer

If you are unsure about how to format your CSV file, just study the sample spreadsheet 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 your CSV file from your hard drive select ‘From Computer‘ …

WordPress Plugin: Visualizer

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

Visualizer

The plugin will import your data from the CSV file and display it using the graph/chart type selected …

WordPress Plugin: Visualizer

Upload CSV File From The Web

Visualizer

Important

For a tutorial that shows you 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 correct data), and click ‘Next‘ …

Visualizer

Depending on the chart or graph type you have selected, the plugin displays various customization settings …

WP Plugin: Visualizer

Visualizer gives you total control over your information, and updates your display in real time …

Visualizer - WordPress Plugin

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

Visualizer

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

Visualizer

Note that new elements are given a unique ID displayed as a shortcode. As you will see very soon, this allows you to embed charts and graphs into your WordPress posts very quickly …

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

Visualizer Usage

After you’ve created a new chart or graph 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) …

WordPress Plugin: Visualizer

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

Visualizer - WordPress Plugin

Find the element you want to add to your content and click on the “insert” icon …

Visualizer - WordPress Plugin

This will place a shortcode into your content …

WP Plugin: Visualizer

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

Publishing A WordPress Post

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

WP Plugin: Visualizer

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

WP Plugin: Visualizer

As mentioned previously, the plugin also displays responsive visual elements for viewing on mobile devices …

Visualizer - WP Plugin

As you can see, Visualizer allows you to add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your website. This makes managing interactive graph information in WordPress really easy.

Tutorial

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

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

Congratulations! Now you know how to add beautiful and interactive bar charts and graphs to your WordPress pages.

***

"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)

***