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

You’ve no doubt heard the old adage “a picture is worth a thousand words.” This certainly applies when you’re presenting and explaining data.

Using charts and graphs is great for making technical or statistical data more easily digestible.

You can use tables to present data, but if you want people to try and make sense of complex information with figures, percentages or comparisons easily, then graphs and charts are perfect for helping them interpret your data.

Inserting Charts Into WordPress Posts And Pages

Charts and graphs help present complex data so people can more easily understand it!

Need to add charts or graphs to your WordPress posts? This step-by-step tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful plugin that allows you to create, manage and embed great-looking and interactive graphs and charts into your WordPress posts and pages in just a few simple steps that:

  • Your visitors can interact with
  • Lets you upload graph or chart data from your computer or a web-based data source
  • Resizes dynamically for mobile device viewing

Visualizer Plugin For WordPress

Useful Tip

If you are displaying visual data like pie charts, comparison charts or trending graphs that contain static information (e.g. historical data), a simple method you can use to display the information is to create your charts or graphs using a desktop application, convert these into jpg and png images and then simply add your images to your posts.

Use WordPress Chart & Graph Plugins

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


WP Plugin: Visualizer

Visualizer URL

You can install the plugin from your WP dashboard (we will show you how to do this further below), or download WP Visualizer here:

Visualizer Description

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

The plugin also provides 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

The plugin 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. A number of options are available for each chart that let you 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 blog or site visitors can see your charts and graphs on their mobile web browsers without requiring the installation of any extra software.

Plugin Installation

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

WP Step-By-Step Plugin Tutorial

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

Install WordPress Plugin: Visualizer

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

Install Visualizer

Click OK to continue …

Install Visualizer

Activate the plugin …

Install Visualizer Plugin For WordPress

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 - WP Plugin

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

WordPress Plugins

This takes you to the plugin’s Visualizer Library page …

Visualizer - WordPress 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 plan to publish to your pages and posts.

How To Configure Visualizer

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

Visualizer Plugin For WordPress

You will see all the different kinds of graphs and charts available.

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

Visualizer - WP Plugin

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

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

Visualizer Plugin For WordPress

Important Info

When creating your CSV data file, ensure that:

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

The screenshot below shows how to format your data as per the requirements above …

WP Plugin: Visualizer

If you are unsure about how to format your data CSV, simply use the sample file supplied with the plugin.

Next, select the 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 hard drive select ‘From Computer‘ …

Visualizer Plugin For WordPress

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


The plugin will now import the data and display it using the graph/chart type you have chosen …

Visualizer Plugin For WordPress

Upload CSV File From The Web

WP Plugin: Visualizer


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 the information is correct (if not, click on the ‘Back’ button and reupload a new data file containing the right data), and click ‘Next‘ …

Visualizer Plugin For WordPress

Depending on the chart or graph type you have chosen, the plugin displays a range of customization options …

Visualizer - WP Plugin

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

Visualizer - WordPress Plugin

For example, the pie chart offers many 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 satisfied with how your graph or chart looks, click Create Chart


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


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


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

WordPress Plugin: Visualizer

After an element has been added to the ‘Visualizer Library’, you can edit its details, duplicate it, or trash it …

Visualizer - WP Plugin

Visualizer Plugin Usage

After creating a chart or graph and adding it to Visualizer, 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 want to insert your visual element into the content and click on Add Media


Click on ‘Visualizations‘ …

WP Plugin: Visualizer

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


This will add a shortcode into your content …


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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

Your page or post should display your chart or graph in where you placed the shortcode …

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

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


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

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

Congratulations! Now you know how to insert appealing and dynamic bar charts and graphs into your WordPress posts with WordPress Visualizer plugin.


"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)


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