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 Charts In Posts And Pages In WordPress

You’ve no doubt heard the adage “a picture is worth a thousand words.” This is certainly true when you’re trying to present or explain complex information.

Using charts and graphs is useful for breaking up long text passages, and making data simpler to grasp.

You can use tables to present data, but if you want your audience to try and interpret complex information with figures, trends and relationships quickly, then graphs and charts allow you to present your information in an intelligent and meaningful manner that can be easily processed.

How To Embed Stunning Charts And Graphs Into WordPress Pages

Charts and graphs help present complex data so your audience can more easily understand it!

Need to add charts or graphs to your WordPress pages and posts? This tutorial shows you how to use WP Visualizer – a simple, easy to use and powerful tool that lets you create, manage and insert great-looking and interactive charts and graphs into your WordPress posts and pages that:

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

WP Plugin: Visualizer

Tip

If you are displaying visual data like bar charts, comparison data or trending graphs that contain static information (e.g. historical data), an easier option is to create your charts or graphs using a desktop application, convert these into images and then simply add your images to your pages or posts.

Use WordPress Chart & Graph Plugins

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

WP Plugin: Visualizer

Visualizer Plugin For WordPress

Plugin URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

WordPress Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and insert eye-catching and dynamic graphs into your WordPress posts and pages in 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 plugins or add-ons are required.

The plugin also contains 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 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. Various options are available for each chart that allow you to 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 requiring the installation of extra software.

Plugin Installation

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

How To Intall Plugins

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

Install WP Plugin: Visualizer

Locate the plugin in the search results section and click the “Install Now” button …

Install Visualizer Plugin For WordPress

Click OK to proceed …

Install Visualizer

Activate the plugin …

Install 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 get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library in the main menu …

WordPress Step-By-Step Plugin Tutorial

This brings up the plugin’s Visualizer Library settings page …

WordPress Plugin: Visualizer

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

Your next step is to add the charts and graphs to your library that you plan to display in your content.

How To Configure Visualizer

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

Visualizer Plugin For WordPress

You will see all the kinds of graphs and charts available.

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

WordPress Plugin: Visualizer

The selected graph/chart type will open up in a new window.

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

Visualizer - WP Plugin

Useful Information

When creating your CSV data file, make sure that:

  • The first row contains the 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 Plugin For WordPress

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

Next, 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 from your hard drive select ‘From Computer‘ …

Visualizer - WP Plugin

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

WP Plugin: Visualizer

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

WordPress Plugin: Visualizer

Upload CSV File From The Web

WP Plugin: Visualizer

Info

To learn 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 new data file containing the right data), and then click ‘Next‘ …

Visualizer Plugin For WordPress

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

Visualizer

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

WP Plugin: Visualizer

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

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

WordPress Plugin: Visualizer

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

Visualizer

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

Visualizer - WP Plugin

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

Visualizer

After a new graph or chart has been added to the ‘Visualizer Library’, you can edit it, duplicate it, or trash it …

Visualizer - WordPress Plugin

Visualizer Plugin Usage

Once you’ve created a new element and added it to the Library, it’s very simple to insert it into your posts or pages.

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

WP Plugin: Visualizer

Select the chart or graph to be added to your content and click on the “insert” icon …

Visualizer

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

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After updating the page/post, click ‘View post’ to see the result …

WP Plugin: Visualizer

Your page or post displays your visual element in your content …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

As you can see, WordPress Visualizer allows you to add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected throughout your site. This makes adding dynamic chart data in WordPress very easy.

Tutorial

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

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

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

***

"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie

***