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 Add Charts To WordPress

You’ve heard the saying “a picture is worth a thousand words.” This certainly applies when you are trying to present or explain complex information.

Using graphs and charts is a great way to break up long passage of technical information, and make technical or statistical data more easily digestible.

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

How To Add Mobile-Responsive Graphs To Pages In WordPress

Graphs and charts help you explain complex data so your audience can more easily understand it!

If you need to learn how to present dynamic visual content on your WordPress site like charts and graphs, this step-by-step tutorial will show you exactly how to create and add eye-catching and updatable graphs and charts to your WordPress posts that:

  • Your visitors can interact with
  • Lets you upload chart or graph data from your computer or an online source of data
  • Dynamically resizes for mobile screens

WP Plugin: Visualizer

Tip

If you are displaying visual data like bar charts, comparison data or trending graphs containing static information (e.g. historical data), an easier option is to create the charts or graphs using an image editing application, convert these into .jpg or .png files and then simply add your images to your site content.

Use WordPress Chart & Graph Plugins

If you want to insert dynamic bars and graphs into WordPress with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a plugin for WordPress that is simple to install, easy-to-use and allows you to not only create attractive and mobile-responsive charts and graphs, it also lets you populate your charts and graphs with updatable data.

Visualizer

Visualizer - WP Plugin

Visualizer Plugin URL

You can install the plugin inside your WP dashboard (explained a little further below), or access and download Visualizer the WordPress plugin directory using the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

WordPress Visualizer is an easy-to-use and powerful tool that lets you create, manage and insert mobile-responsive charts into your WordPress posts and pages with just 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 components are needed.

Visualizer also provides a variety of charts 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 your web design. Several options are available for each chart that allow you to customize their look and feel.

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 devices without having to install any extra plugins.

Plugin Installation

From your WP dashboard, select Plugins > Add New from the main sidebar menu …

How To Intall Plugins

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

Install Visualizer

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

Install Visualizer - WordPress Plugin

Click OK to continue …

Install Visualizer

Activate the plugin after successfully installing it …

Install WordPress Plugin: Visualizer

You can also activate the plugin in the Plugins area …

Install WP Plugin: Visualizer

Once the plugin has been activated, click on Library

Install Visualizer

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

Install WordPress Plugin

This brings up the plugin’s Visualizer Library settings …

WP Plugin: Visualizer

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

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

How To Configure Visualizer

To add a graph or chart to the library, click on Add New

Visualizer - WordPress Plugin

You will be presented with all of the different kinds of charts and graphs available.

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

Visualizer Plugin For WordPress

The graph/chart type will pop up in a lightbox.

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

WP Plugin: Visualizer

Useful Information

When creating your CSV data file, make sure that:

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

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

Visualizer

If you are not sure how to format your data CSV, just download the sample CSV file provided with the plugin.

Once you have created your CSV file, 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 and data from your computer select ‘From Computer‘ …

WordPress Plugin: Visualizer

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

Visualizer - WP Plugin

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

Visualizer - WordPress Plugin

Upload CSV File From The Web

WP Plugin: Visualizer

Useful Information

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

Visualizer - WordPress Plugin

Depending on the chart or graph type you have picked, the plugin displays a number of customization options and settings …

WordPress Plugin: Visualizer

The WordPress Visualizer plugin gives you complete control over your information, and updates your display in real time …

WP Plugin: Visualizer

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

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

Visualizer - WP Plugin

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

WP Plugin: 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 graphs and charts into your WordPress posts and pages quickly and easily …

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Plugin Usage

Once you’ve created a element and added it to the Library, it’s simple to add it to pages or posts.

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

WordPress Plugin: Visualizer

Find the chart or graph you want to insert into your content and click on the “insert” icon …

Visualizer

This adds a shortcode into your content …

Visualizer

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

Publishing A WordPress Post

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

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

As mentioned earlier, the plugin also displays responsive charts for mobile viewers …

Visualizer - WordPress Plugin

As you can see, the Visualizer plugin lets you add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected throughout your website. This is very convenient if you’re working with interactive graph information in WordPress.

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, refer to the site below:

Congratulations! Now you know how to insert beautiful bar charts and graphs into WordPress.

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

***

Recommended Video Courses For WordPress Users

Using S2 MemberUsing S2 Member

Learn how to set up and configure a WordPress membership site using the S2 Member free WordPress membership plugin.

More info: Using S2 Member

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPressBuild An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Author: Martin Aranovitch

Martin Aranovitch is the owner of WPCompendium.org and the author of The WordPress User Manual. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

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