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

Embed Colourful Graphs Into A WordPress Page

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

Using graphs and charts is great for breaking up content containing too much text, and making statistical data a whole lot easier to understand.

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

Creating Charts And Graphs In A WordPress Page Or Post

Charts and graphs help present complex data so your audience can more easily interpret it!

Need to add charts and graphs to your WordPress content? This tutorial shows you how to use WordPress Visualizer – an easy-to-use and powerful plugin that lets you create, manage and embed colorful and interactive charts into your WordPress posts and pages that:

  • Your site visitors can engage with
  • Lets you add graph or chart data from your computer or an online source of data
  • Will dynamically resize for mobile screens



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

Use WordPress Chart & Graph Plugins

If you want to easily embed interactive bar charts and pie charts into your WordPress pages with no coding skills required, the easiest way to do this is to use a plugin.

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

Visualizer Plugin For WordPress

WordPress Plugin: Visualizer

Plugin URL

You can install the plugin from your WP dashboard (see further below), or download the Visualizer plugin from the link below:

Visualizer Description

Visualizer is a simple, easy to use and powerful tool that lets you create, manage and embed eye-catching and dynamic graphs and 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 additional plugins or add-ons are required.

Visualizer 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 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 fully 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 web visitors can see your charts and graphs on their mobile device browsers without having to install any additional plugins.

Plugin Installation

Inside your WordPress administration area, select Plugins > Add New from the main admin menu …

WordPress Step-By-Step Tutorial

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

Install Visualizer

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

Install WordPress Plugin: Visualizer

Click OK to go ahead …

Install Visualizer - WP Plugin

Activate the plugin …

Install Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

After your plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

Install WordPress Plugins

This brings up the plugin’s Visualizer Library settings page …

Visualizer - WP Plugin

After installing the plugin, the library contains no charts.

The next step is to add the charts and graphs to your library that you will want to publish to your posts and pages.

Plugin Configuration

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

WordPress Plugin: Visualizer

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

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

WP Plugin: Visualizer

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

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

Visualizer Plugin For WordPress

Useful Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data correctly …

Visualizer - WordPress Plugin

If you are unsure about how to format your data CSV, just study the sample file provided with the plugin.

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


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

Visualizer Plugin For WordPress

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


Upload CSV File From The Web

Visualizer Plugin For WordPress


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


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

Visualizer Plugin For WordPress

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

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

Once you’re satisfied with the look of your chart or graph, click Create Chart

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

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


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


Visualizer Plugin Usage

Once you’ve created a new graph or chart and added it to the Visualizer Library, adding it to a page or post is really very 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 the content and click on Add Media


Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

Select the element you want to add to your content and click the “insert” icon …

Visualizer - WP Plugin

This inserts a shortcode for the element into your content …

Visualizer - WordPress Plugin

Once you have added the shortcode, click on Publish to publish (or update) your page or post …

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

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 device viewing …

WP Plugin: Visualizer

As you can see, WordPress Visualizer allows you to insert and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your site. This is great if you’re working with interactive graph information in WordPress.


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

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

Congratulations! Now you know how to easily create stunning and mobile-responsive bar charts and graphs in WordPress.


"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