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 Dynamic Graphs Into WordPress

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This certainly applies when you are presenting or explaining complex information.

Using graphs and charts is great for breaking up content that has too much text, and making statistical data and information much easier to digest.

You can use tables to present information, but if you want people to try and make sense of complex data with figures, percentages and relationships more easily, then graphs and charts allow you to present the data in an intelligent and meaningful way that can be quickly processed.

Add Updateable Charts And Graphs To WordPress Pages

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

Need to add charts or graphs to your WordPress pages? This tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful plugin that allows you to create, manage and insert beautiful graphs and charts into your WordPress posts and pages that:

  • Your web visitors can engage with
  • Lets you upload chart or graph data from your hard drive or an online source of data
  • Is fully responsive for mobile device screens


Useful Tip

If you plan to display visual data like pie charts, comparison data or trending graphs which contain information that is not going to change (e.g. historical data), a simple method you can use to present your data is to create your graphs or charts using a desktop application, convert these into .jpg and .png images and then simply insert the image files into your content.

Use WordPress Chart & Graph Plugins

If you want to create interactive bars and pie charts in WordPress 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 stunning and interactive charts and graphs, it also lets you populate your charts and graphs with updateable data.


WordPress Plugin: Visualizer

Plugin URL

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

Visualizer Plugin Description

Visualizer is an easy-to-use and powerful plugin that lets you create, manage and insert stunning and dynamic graphs and charts into your WordPress posts and pages in a few mouse clicks.

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 components are required.

Visualizer also provides a variety of charts optimized for all your data visualization needs, including:

  • Line chart
  • Area chart
  • Bar chart
  • Column chart
  • Pie chart
  • Geo chart
  • Gauge chart
  • Candlestick chart
  • Scatter chart

WordPress 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 the look and feel of your website. Several options are available for each chart that let you 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 additional plugins.

Plugin Installation

Inside your WP administration area, select Plugins > Add New from the dashboard menu …

WordPress Step-By-Step Tutorial

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

Install Visualizer Plugin For WordPress

Locate the plugin in the search results screen and click the “Install Now” button …

Install Visualizer Plugin For WordPress

Click OK to continue …

Install Visualizer

Activate the plugin after successfully installing it …

Install Visualizer

You can also activate the plugin in the Plugins area …

Install Visualizer - WP Plugin

After your plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

WP Step-By-Step Tutorial

This brings up the plugin’s Visualizer Library section …

Visualizer - WordPress Plugin

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

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

How To Configure The Plugin

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

WordPress Plugin: Visualizer

A gallery displaying all of the built-in types of graphs and charts available will load on your screen.

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


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

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



When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as explained above …


If you are unsure about how to format your data CSV, just use the sample spreadsheet that comes 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 a CSV file from your hard drive select ‘From Computer‘ …


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

WordPress Plugin: Visualizer

The plugin imports your data from the CSV file and displays it using the graph/chart type selected …

WP Plugin: Visualizer

Upload CSV File From The Web

Visualizer - WordPress Plugin

Useful Information

To learn how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

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

WordPress Plugin: Visualizer

Depending on the chart or graph type selected, the plugin displays a number of customization settings …


The plugin gives you total control of your information, and updates your display in real time …

Visualizer - WP Plugin

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 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 the look of your graph or chart, click on the ‘Create Chart’ button …

Visualizer - WP Plugin

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

Visualizer - WP Plugin

Note that new visual elements are given a unique ID displayed as a shortcode. As you will see very soon, this lets you add charts and graphs to your pages and posts quickly and easily …

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

Visualizer Plugin Usage

After you’ve created a new graph or chart and added it to the Library, adding it to your content is really simple.

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

Visualizer - WP Plugin

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 the “insert” icon …


This will place a shortcode into your content …


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

Publishing A WordPress Post

After publishing your page, click ‘View post’ to see the end result …

WordPress Plugin: Visualizer

Your page or post displays the item in your content …

WP Plugin: Visualizer

As mentioned earlier, Visualizer also displays responsive charts for mobile device browsers …

Visualizer Plugin For WordPress

As you can see, the Visualizer plugin lets you 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 adding dynamic chart data in WordPress.


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 Visualizer.

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

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


"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)

Disclaimer: WordPress and its related trademarks are registered trademarks of Automattic, Inc. This site is not affiliated with nor sponsored by Automattic, Inc. or the WordPress Open Source project. This site and the products and services offered on this site are not associated, affiliated, sponsored, or endorsed by WordPress, nor have they been reviewed, tested, or certified by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, reviewed, or advertised on this site.


Did you enjoy this article? If so, please consider sharing this tutorial using the social buttons below.

Author: Martin Aranovitch

Martin Aranovitch is the founder of and the author of The Small Business Digital Manager. provides hundreds of FREE detailed step-by-step tutorials that will teach you how to use WordPress to grow your business online at minimal cost with no coding skills required!

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