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 Insert Graphs Into A Page Or Post In WordPress

No doubt you’re familiar with the old adage “a picture is worth a thousand words.” This certainly applies when you are presenting and explaining data.

Using charts and graphs is great for breaking up long text passages, and making data simpler and easier to digest.

You can use tables to present data, but if you want your audience to try and make sense of complex data with figures, percentages and relationships easily, then charts and graphs allow you to present the information in a meaningful and intelligent manner that can be quickly understood.

How To Create Graphs In A WordPress Page Or Post

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

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

  • Your site visitors can interact with
  • Allows you to add data from your hard drive or a web-based source of data
  • Will dynamically resize for mobile device screens

Visualizer - WP Plugin

Practical Tip

If you plan to display visual data like pie charts, comparison graphs or trending graphs that contain static information (e.g. historical data), a simple method you can use is to create the graphs or charts using an image editing application, convert these into images and then simply add your image files to your content.

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 plugin for WordPress that is simple to install, easy-to-use and allows you to not only create great-looking and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with updatable information.

WordPress Plugin: Visualizer

Visualizer Plugin For WordPress

Visualizer URL

You can install the plugin from your WP dashboard (we explain how to do this a little further down the page), or download the WordPress Visualizer plugin from the link below:

Plugin Description

The WordPress Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert attractive and interactive charts and graphs into your WordPress posts and pages with just a few simple steps.

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 additional plugins or add-ons are required.

The plugin also provides a variety of charts optimized for 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 the look and feel of your website. Several 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 site visitors can see your charts and graphs on their mobile devices without having to install any extra software.

How To Install WordPress Visualizer

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

How To Intall WordPress Plugin

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

Install Visualizer

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

Install Visualizer - WordPress Plugin

Click OK to go ahead …

Install Visualizer

Activate the plugin after installing it …

Install Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer Plugin For WordPress

Once the plugin has been activated, click on Library

Install Visualizer

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

Installing Plugins

This brings up the plugin’s Visualizer Library page …

WordPress Plugin: Visualizer

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

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

How To Configure The Plugin

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

Visualizer - WP Plugin

A page will appear on your screen displaying all of the default types of graphs available.

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


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

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

WP Plugin: Visualizer


When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data …

Visualizer Plugin For WordPress

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

Once you have completed this step, select your data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.

Upload CSV File From Computer

To upload a 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‘ …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important Info

For a step-by-step tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

After importing your data, make sure that all of your information is correct (if not, click on the ‘Back’ button and reupload a data file containing the right data), and then click ‘Next‘ …

Visualizer Plugin For WordPress

Depending on the chart or graph type you’ve selected, the plugin will display a number of customization options and settings …

Visualizer Plugin For WordPress

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


For example, the pie chart offers various configurable options, such as:

  • 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 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).


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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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


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


Visualizer Plugin Usage

After creating a new graph or chart and adding it to the Library, adding it to a post is really simple.

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

WordPress Plugin: Visualizer

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 element you want to insert into your content and click on the “insert” icon …

Visualizer Plugin For WordPress

This adds a shortcode into your content …


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

Publishing A WordPress Post

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

WordPress Plugin: Visualizer

The chart will show up in the content …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

As you can see, WordPress Visualizer lets you add and customize dynamic charts and graphs in your content. You can modify your data and your changes will automatically be reflected throughout your website. This makes adding interactive chart information in WordPress very easy.


The plugin developers 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, cloning, deleting and adding data to your charts, refer to the site below:

Congratulations! Now you know how to easily add attractive and interactive bar charts and graphs to 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


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