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 Create Appealing Graphs And Charts In A WordPress Post

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This is certainly true when you are presenting and explaining complex information.

Using charts and graphs is useful for breaking up long and boring content, and making statistical data more easily digestible.

You can present data using tables, but if you want people to try and interpret complex data with figures, percentages and comparisons more easily, then graphs and charts are perfect for helping them visualize your information.

Insert Graphs Into Pages In WordPress

Graphs and charts help explain complex information so your audience can more easily interpret it!

Need to add charts and graphs to your WordPress pages? This step-by-step tutorial shows you how to use WP Visualizer – a simple, easy to use and powerful plugin for WordPress that allows you to create, manage and insert appealing and dynamic graphs and charts into your WordPress posts and pages that:

  • Your web visitors can interact with
  • Allows you to add graph or chart data from your hard drive or an online data source
  • Is dynamically responsive for mobile browsing

WP Plugin: Visualizer

Tip

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

Use WordPress Chart & Graph Plugins

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

WordPress Plugin: Visualizer

Visualizer - WP Plugin

Visualizer URL

You can install the plugin inside your WP dashboard (explained a little further down the page), or download Visualizer here:

http://wordpress.org/plugins/visualizer

Visualizer Description

Visualizer is an easy-to-use and powerful tool that allows you to create, manage and embed stunning graphs and charts into your WordPress posts and pages in 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 extra plugins or add-ons are needed.

Visualizer also comes with a variety of built-in optimized for 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 the look and feel of your website. A number of options are available for each chart that allow you to fully 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 visitors can see your charts and graphs on their mobile device browsers without having to install extra software.

Plugin Installation

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

How To Intall Plugins

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

Install Visualizer - WordPress Plugin

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

Install Visualizer

Click OK to proceed …

Install Visualizer Plugin For WordPress

Activate the plugin after successfully installing it …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins section …

Install Visualizer - WordPress Plugin

Once the plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

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

Installing WordPress Plugin

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

WordPress Plugin: Visualizer

After installing the plugin, the library contains no charts.

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

How To Configure The Visualizer Plugin

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

Visualizer

A visual gallery displaying all of the default types of graphs available will load 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 all the data you would like your chart or graph to be populated with …

WP Plugin: Visualizer

Important

When creating your CSV data file, ensure that:

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

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

Visualizer - WordPress Plugin

If you are unsure about how to format your data CSV, simply refer to the sample provided with the plugin.

Next, 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 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 will now import your data and display it using the graph/chart type selected …

Visualizer

Upload CSV File From The Web

Visualizer Plugin For WordPress

Useful Information

For a tutorial that explains how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

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

Visualizer - WP Plugin

Depending on the chart or graph type you have selected, the plugin will display various customization options and settings …

Visualizer

Visualizer gives you complete control of your information, and updates your display in real time …

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

Once you are satisfied with how your graph or chart looks, click on the ‘Create Chart’ button …

WordPress Plugin: Visualizer

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

Visualizer

Note that every visual element is given a unique ID displayed as a shortcode. As you will see shortly, this allows you to easily insert charts and graphs into your content …

Visualizer - WP Plugin

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

WP Plugin: Visualizer

After a new element has been added to the ‘Visualizer Library’, you can edit its details, clone it, or trash it …

Visualizer - WP Plugin

Visualizer Usage

Once you have created a new element and added it to Visualizer, it’s simple to add it to your content.

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

Visualizer - WP Plugin

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

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

Visualizer Plugin For WordPress

This adds a shortcode for the element into your content …

Visualizer - WordPress Plugin

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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

Your item will display in where you have added the shortcode …

WordPress Plugin: Visualizer

As mentioned earlier, Visualizer also displays responsive charts and graphs for viewing on mobile devices …

Visualizer - WP Plugin

As you can see, the Visualizer plugin lets you insert and customize dynamic charts and graphs in your content. You can update your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes adding interactive chart data in WordPress very efficient.

Tutorial

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

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

Congratulations! Now you know how to create stunning and interactive 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

***

Originally published as How To Add Charts And Graphs To WordPress.