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 A Page In WordPress

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

Using charts and graphs is useful for making data more easily digestible.

You can present data with tables, but if you want people to try and make sense of complex information with figures, percentages or comparisons quickly, then charts and graphs allow you to present your data in an intelligent and meaningful manner that can be quickly understood.

How To Add Charts To Posts And Pages In WordPress

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

Need to add charts and graphs to your WordPress content? This step-by-step tutorial shows you how to use WP Visualizer – an easy-to-use and powerful tool that allows you to create, manage and embed stunning charts into your WordPress posts and pages in just a few simple steps that:

  • Your site visitors can interact with
  • Lets you upload chart or graph data from your computer or a web-based data source
  • Will resize dynamically for mobile device browsing

WordPress Plugin: Visualizer

Practical Tip

If you are displaying visual data like pie charts, comparison bars or trending graphs that contain static information (e.g. historical data), an easier option is to create the graphs or charts using a desktop application, convert these into images and then simply insert your files and an image into your post or page.

Use WordPress Chart & Graph Plugins

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

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

WP Plugin: Visualizer

Visualizer

Plugin URL

You can install the plugin in your WP dashboard (see further below), or access and download the Visualizer plugin here:

http://wordpress.org/plugins/visualizer

Plugin Description

WP Visualizer is a simple, easy to use and powerful tool that lets you create, manage and insert attractive and dynamic graphs into your WordPress posts and pages in just a few mouse clicks.

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

The plugin also contains a variety of charts that are optimized to address 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 a flexible and customizable plugin, 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 fully 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 visitors can see your charts and graphs on their mobile device browsers without having to install extra software.

How To Install The Visualizer Plugin

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

Installing Plugin

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

Install Visualizer - WP Plugin

Locate Visualizer in the search results screen and click Install Now

Install Visualizer - WP Plugin

Click OK to proceed …

Install Visualizer

Activate the plugin after successfully installing it …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer - WordPress Plugin

Once your plugin has been activated, click on Library

Install Visualizer

You can also get to the plugin’s ‘library’ screen by selecting Media > Visualizer Library from the main menu …

How To Intall Plugins

This brings up the plugin’s Visualizer Library settings …

Visualizer - WordPress Plugin

After installing the plugin, this section will be empty.

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

Visualizer Configuration

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

Visualizer - WordPress Plugin

You will see all of the built-in types of graphs 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 open up in a lightbox.

The next step is to upload a CSV file containing the data you want to populate your chart or graph with …

Visualizer - WordPress Plugin

Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as explained above …

WP Plugin: Visualizer

If you are unsure about how to format your CSV file, just use the sample CSV file that comes with the plugin.

Once you have completed this step, select the 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‘ …

Visualizer Plugin For WordPress

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

Visualizer

The plugin imports your data from the CSV file and displays it using the graph/chart type you have selected …

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer - WordPress Plugin

Important

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

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

Visualizer gives you total control over your chart or graph, and updates your display in real time …

Visualizer Plugin For WordPress

For example, the pie chart offers various 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 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 how your graph or chart is looking, click Create Chart

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Note that each element is given a unique ID displayed in a shortcode. As you will see shortly, this allows you to add charts and graphs to your pages very easily …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer

Visualizer Plugin Usage

After you’ve created a new graph or chart and added it to Visualizer, it’s very easy to insert it into a page or post.

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

Visualizer

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

Find the graph or chart to be inserted into your content and click the “insert” icon …

Visualizer

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

Visualizer Plugin For WordPress

After you have finished adding your item, click on Publish to publish (or update) your page or post …

Publishing A WordPress Post

Once your page has been published, click ‘View post’ to see it …

Visualizer Plugin For WordPress

Your chart or graph will display in the location where you’ve added the shortcode …

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Tutorial

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

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

Congratulations! Now you know how to add great-looking and dynamic bar charts and graphs to WordPress.

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

***