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

Embedding Charts Into WordPress Pages

You’re probably familiar with the saying “a picture is worth a thousand words.” This certainly applies when you are trying to present and explain complex information.

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

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

Add Mobile-Responsive Graphs And Charts To Posts And Pages In WordPress

Charts and graphs help you explain complex information so people can more easily understand it!

If you need to display dynamic visual content on your WordPress site using charts and graphs, this step-by-step tutorial will show you how to create eye-catching and updatable charts and graphs to WordPress that:

  • Your web visitors can engage with
  • Allows you to upload chart or graph data from your hard drive or an online data source
  • Is fully responsive for mobile devices

Visualizer

Practical Tip

If you are displaying visual data like bar charts, comparison data or trending graphs containing static information (e.g. historical data), an easier way to display this information is to create the graphs or charts using a desktop application, convert these into jpg and png files and then simply add your image to your page or post.

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a free WordPress plugin that is simple to install, easy-to-use and allows you to not only create great-looking and interactive charts and graphs, it also lets you populate your charts and graphs with updateable data.

Visualizer Plugin For WordPress

Visualizer - WP Plugin

Visualizer Plugin URL

You can install the plugin in your WordPress dashboard (we will explain how to do this further below), or download WP Visualizer the WP plugin repository using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Plugin Description

WordPress Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and insert appealing graphs into your WordPress posts and pages in a few simple steps.

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

Visualizer also comes with 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

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 your site’s design. A number of options are available for each chart that allow you to 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 blog or site visitors can see your charts and graphs on their mobile device browsers without requiring the installation of any extra software.

How To Install WordPress Visualizer

Inside your WP dashboard, select Plugins > Add New from the dashboard menu …

WordPress Step-By-Step Plugin Tutorial

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

Install WordPress Plugin: Visualizer

Locate Visualizer in the search results screen and click the “Install Now” button …

Install WordPress Plugin: Visualizer

Click OK to go ahead …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins section …

Install WP Plugin: Visualizer

After the plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

Installing Plugin

This brings up the plugin’s Visualizer Library section …

Visualizer - WordPress Plugin

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

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

How To Configure Visualizer

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

WP Plugin: Visualizer

A page will appear in your browser displaying all of the built-in types of charts available.

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

Visualizer Plugin For WordPress

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

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

Visualizer

Useful Info

When creating your CSV data file, ensure that:

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

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

Locate and select your file and click on ‘Open‘ …

Visualizer Plugin For WordPress

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

Visualizer

Upload CSV File From The Web

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

WP Plugin: Visualizer

Depending on the chart or graph type you’ve picked, the plugin displays various customization settings and options …

Visualizer

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

Visualizer - WP Plugin

For example, the pie chart offers various 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’re happy with the look of your graph or chart, click Create Chart

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

Note that each element is given a unique ID displayed in a shortcode. As you will see in a moment, this allows you to embed graphs and charts into your WordPress content very easily …

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

Visualizer Plugin Usage

After creating a chart or graph and adding it to the Visualizer Library, it’s very simple to add it to pages or posts.

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

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

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

After you have finished adding the element, click on Publish to publish (or update) your content …

Publishing A WordPress Post

After publishing your page, click ‘View post’ to see the end result …

Visualizer Plugin For WordPress

You will see your element in the location you specified …

WordPress Plugin: Visualizer

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

Visualizer

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 throughout your website. This is very convenient if you’re managing dynamic graph information in WordPress.

Tutorial

The developers of this plugin have created a number of step-by-step tutorials you can use to learn how to edit, customize and use the plugin.

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

Congratulations! Now you know how to insert appealing and interactive pie charts and graphs into WordPress with WordPress Visualizer plugin.

***

"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya

***

Translate »