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 Graphs And Charts In WordPress Posts And Pages

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

Graphs and charts can help to make technical or statistical data more easily digestible.

You can present data with tables, but if you want your audience to try and interpret complex information with numbers, trends or comparisons easily, then charts and graphs allow you to present the information in an intelligent and meaningful way that can be quickly and easily processed.

How To Insert Updatable Charts Into A Page Or Post In WordPress

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

If you want to learn how to display dynamic visual content on your WordPress site using charts and graphs, this tutorial will show you how to create colorful and updateable graphs and charts to your WP posts and pages that:

  • Your web visitors can interact with
  • Allows you to add chart or graph data from your hard drive or an online data source
  • Is dynamically responsive for mobile viewing


Useful Tip

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

Use WordPress Chart & Graph Plugins

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

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

Visualizer Plugin For WordPress

Visualizer - WordPress Plugin

Visualizer Plugin URL

You can install the plugin inside your WordPress dashboard (we will explain how to do this further below), or access and download the Visualizer plugin here:

Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that allows you to create, manage and embed stunning charts into your WordPress posts and pages in 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 add-ons are needed.

Visualizer also provides 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. Several options are available for each chart that let you 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 web visitors can see your charts and graphs on their mobile web browsers without having to install extra software.

Plugin Installation

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

WordPress Plugins

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

Install Visualizer Plugin For WordPress

Locate the plugin in the search results section and click Install Now

Install Visualizer

Click OK to continue …

Install Visualizer Plugin For WordPress

Activate the plugin …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins area …

Install Visualizer - WP Plugin

After your 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 your dashboard menu …

Installing Plugin

This brings up the plugin’s Visualizer Library page …

WordPress Plugin: Visualizer

After installing 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 posts and pages.

How To Configure The Visualizer Plugin

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

WordPress Plugin: Visualizer

A page will appear in your screen displaying all the kinds of charts and graphs available.

Select the graph or chart 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 that contains all the data you want to populate your chart or graph with …


Important Info

When creating your CSV data file, ensure that:

  • Your first row contains your column headings.
  • The second row contains the series type (e.g. number, 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 CSV file, simply download the sample spreadsheet provided with the plugin.

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


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

WordPress Plugin: Visualizer

The plugin will import your 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

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 containing the right data), and then click ‘Next‘ …

WP Plugin: Visualizer

Depending on the chart or graph type selected, the plugin displays various customization options and settings …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

  • 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 are happy with how your chart or graph is looking, click on the ‘Create Chart’ button …

WordPress Plugin: Visualizer

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


Note that new elements are given a unique ID displayed as a shortcode. As you will see in a moment, this allows you to insert charts and graphs into your WordPress posts easily and quickly …

Visualizer Plugin For WordPress

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


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

Visualizer Plugin For WordPress

Visualizer Usage

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

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

Visualizer - WordPress Plugin

Next, place your mouse cursor where you would like to insert your visual element into the content and click on the ‘Add Media‘ button …


Click on ‘Visualizations‘ …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

This inserts a shortcode into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

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


The visual element will show up in the location you specified …

WordPress Plugin: Visualizer

As mentioned earlier, the plugin also displays responsive charts and graphs for mobile devices …


As you can see, the Visualizer plugin allows you to add and customize dynamic charts and graphs in your content. You can modify your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes adding dynamic chart data in WordPress really efficient.


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

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

Congratulations! Now you know how to create eye-catching and dynamic pie 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


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