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

Creating Charts And Graphs In WordPress Posts And Pages

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

Using graphs and charts is great for breaking up technical and difficult content, and making technical or statistical data more easily digestible.

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

How To Insert Mobile-Responsive Charts And Graphs Into A WordPress Post

Charts and graphs help explain complex information so your audience can more easily understand it!

Need to add charts or graphs to your WordPress content? This tutorial shows you how to use the WP Visualizer plugin – a simple, easy to use and powerful tool that allows you to create, manage and embed mobile-responsive graphs and charts into your WordPress posts and pages that:

  • Your web visitors can engage with
  • Allows you to upload chart or graph data from your computer or an online source of data
  • Dynamically resizes for mobile browsing

Visualizer

Practical Tip

If you plan to display visual data like bar charts, comparison charts or trending graphs that contain static information (e.g. historical data), an easier way to add your data is to create the graphs or charts using a desktop application, convert these into images and then simply insert your images into your site content.

Use WordPress Chart & Graph Plugins

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

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

Visualizer

Visualizer Plugin For WordPress

Visualizer Plugin URL

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

http://wordpress.org/plugins/visualizer

Plugin Description

WP Visualizer is a simple, easy to use and powerful plugin that allows you to create, manage and embed dynamic graphs and charts into your WordPress posts and pages in just 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 extra plugins are needed.

Visualizer also contains a variety of built-in 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 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 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 having to install any extra plugins.

How To Install WP Visualizer

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

WordPress Step-By-Step Tutorial

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

Install Visualizer - WP Plugin

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

Install Visualizer - WordPress Plugin

Click OK to continue …

Install Visualizer

Activate the plugin …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins area …

Install WP Plugin: Visualizer

After your plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

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

How To Intall Plugin

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

WordPress Plugin: Visualizer

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

Your next step is to add the charts and graphs to your library that you will want to insert into your content.

Visualizer Plugin Configuration

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

Visualizer - WordPress Plugin

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

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

Visualizer

Your graph/chart type will open up in a lightbox.

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

Visualizer - WordPress Plugin

Important

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data …

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

The plugin imports the data and displays it using the graph/chart type chosen …

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer - WP Plugin

Important Info

For a tutorial that explains 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 containing the correct data), and then click ‘Next‘ …

WordPress Plugin: Visualizer

Depending on the chart or graph type selected, the plugin will display a number of customization options …

WordPress Plugin: Visualizer

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

Visualizer - WordPress Plugin

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 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 are happy with the way your chart or graph is looking, click Create Chart

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Note that every visual element is given a unique ID displayed as a shortcode. As you will see very soon, this lets you add charts and graphs to your content easily …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

After adding a new item to the ‘Visualizer Library’, you can edit it, clone it, or delete it …

Visualizer - WP Plugin

Visualizer Usage

After you’ve created a element and added it to the Visualizer Library, adding it to a post is quite simple.

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 your content and click on the ‘Add Media‘ button …

@@@

Click on ‘Visualizations‘ …

Visualizer - WP Plugin

Select the graph or chart you want to add to your content and click the “insert” icon …

Visualizer

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

WP Plugin: Visualizer

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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

Your page or post displays your graph in your content …

WP Plugin: Visualizer

As mentioned previously, the plugin also displays responsive graphs for mobile users …

WordPress Plugin: Visualizer

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can update your data and the changes will automatically be reflected throughout your site. This is one of the great benefits of using the Visualizer plugin if you’re adding dynamic graph data in WordPress.

Tutorial

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

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

Congratulations! Now you know how to easily add appealing and dynamic bar charts and graphs to WordPress with WordPress Visualizer.

***

"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

***

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