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 Create Graphs And Charts In A Post In WordPress

You’re probably familiar with the old adage “a picture is worth a thousand words.” This certainly applies when you’re presenting or explaining complex data.

Using charts and graphs is great for breaking up long passage of text, and making technical data more easily digestible.

You can present information with tables, but if you want your audience to try and interpret complex information with numbers, percentages and relationships more easily, then charts and graphs are perfect for helping them understand your data.

Add Charts To A WordPress Page Or Post

Graphs and charts help you explain complex information so people can more easily interpret it!

If you need to learn how to display dynamic visual content on your WordPress site using graphs and charts, this step-by-step tutorial will show you exactly how to create eye-catching and updatable charts to your WP posts that:

  • Your site visitors can engage with
  • Lets you add data from your computer or a web-based data source
  • Will resize dynamically for mobile screens

Visualizer - WP Plugin

Useful Tip

If you are displaying visual data like bar charts, comparison bars or trending graphs containing static information (e.g. historical data), an easier option is to create the graphs or charts using an image editing application, convert these into images and then simply insert your image into your posts.

Use WordPress Chart & Graph Plugins

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

Visualizer – WP Plugin

Visualizer - WP Plugin

Visualizer URL

You can install the plugin in your WordPress dashboard (see a little further below), or access and download WP Visualizer the WP free plugin directory using the link below:

Visualizer Description

WP Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and embed colorful charts into your WordPress posts and pages with just a few mouse clicks.

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

WordPress 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

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 your site’s design. Several options are available for each chart that let you further 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 visitors can see your charts and graphs on their mobile web browsers without having to install any additional software.

Plugin Installation

Inside your WordPress administration area, select Plugins > Add New from the navigation sidebar menu …

WordPress Step-By-Step Tutorial

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

Install Visualizer Plugin For WordPress

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

Install Visualizer Plugin For WordPress

Click OK to continue …

Install Visualizer

Activate the plugin after installing it …

Install WP Plugin: Visualizer

You can also activate the plugin in the Plugins page …

Install WordPress Plugin: Visualizer

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 main menu …

Install WordPress Plugins

This brings up the plugin’s Visualizer Library screen …

WordPress Plugin: Visualizer

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

The next step is to add add charts and graphs to your plugin library.

Visualizer Configuration

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

WordPress Plugin: Visualizer

You will see all of the types of graphs and charts available.

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


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

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


Useful Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data correctly …

Visualizer Plugin For WordPress

If you are not sure how to format your CSV file, just use the sample file supplied with the plugin.

Next, select your data source (‘From Computer’ or ‘From Web’) in the ‘Upload CSV File’ section.

Upload CSV File From Computer

To upload your CSV file from your hard drive select ‘From Computer‘ …

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer - WP Plugin

Upload CSV File From The Web

WordPress Plugin: Visualizer


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

WP Plugin: Visualizer

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

Visualizer - WP Plugin

The WordPress Visualizer plugin gives you full control over 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 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).


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


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

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

After adding a new graph or chart to the ‘Visualizer Library’, you can edit its details, duplicate it, or delete it …

WordPress Plugin: Visualizer

Plugin Usage

Once you have created a new graph or chart and added it to Visualizer, adding it to a post is 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 - WordPress Plugin

Find the chart or graph to be inserted into your content and click on the “insert” icon …

Visualizer - WordPress Plugin

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


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

Publishing A WordPress Post

After publishing the page, click ‘View post’ to see it …

Visualizer - WP Plugin

Your page or post will display your graph in the location you specified …

Visualizer - WP Plugin

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

Visualizer - WP Plugin

As you can see, Visualizer lets you insert 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 is one of the great benefits of using the Visualizer plugin if you’re adding dynamic chart information in WordPress.


The plugin developers have created a number of tutorials you can refer to for ways to edit, customize and use the Visualizer plugin.

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

Congratulations! Now you know how to easily create appealing and mobile-responsive pie charts and graphs in WordPress with WordPress Visualizer.


"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum

Disclaimer: We have no association with WordPress or any products mentioned on this website. We may derive financial benefits from purchases of any products advertised, mentioned or linked to this website. All images remain the copyright of their respective owners and have been used solely for illustrative or training purposes.


Was this article useful? If so, please take a moment to use the social links below and share this article with anyone thinking of starting a business online.

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.