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 Add Charts To WordPress

You’ve heard the old adage “a picture is worth a thousand words.” This certainly applies when you are trying to present and explain complex information.

Using graphs and charts is a great way to break up long passage of text, and make statistical data more easily digestible.

You can present data with tables, but if you want your audience to try and make sense of complex data with numbers, percentages or comparisons quickly, then charts and graphs are perfect for helping them understand the information.

How To Create Charts In A Post Or Page In WordPress

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

Need to add charts or graphs to your WordPress pages? This step-by-step tutorial shows you how to use WP Visualizer – an easy-to-use and powerful tool that lets you create, manage and embed dynamic charts into your WordPress posts and pages with a few mouse clicks that:

  • Your site visitors can engage with
  • Allows you to add data from your computer or an online data source
  • Is dynamically responsive for mobile browsing

Visualizer - WP Plugin

Practical Tip

If you are displaying visual data like pie charts, comparison charts or trending graphs which contain information that is not going to change (e.g. historical data), an easier option is to create your graphs or charts using a desktop application, convert these into images and then simply insert the image files into your posts or pages.

Use WordPress Chart & Graph Plugins

If you want to create dynamic bar charts and graphs 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 beautiful and dynamic graphs and charts, it also lets you populate your charts and graphs with updatable data.

Visualizer Plugin For WordPress


Visualizer URL

You can install the plugin in your WordPress dashboard (we will show you how to do this a little further below), or access and download the Visualizer plugin from the link below:

Visualizer Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and insert dynamic 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 extra addons are needed.

The plugin also provides a variety of charts optimized for 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 the look and feel of your website. Various options are available for each chart that allow you to 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 device browsers without requiring the installation of extra software.

How To Install WordPress Visualizer

From your WP administration area, select Plugins > Add New from the main sidebar menu …

WP Plugins

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

Install WP Plugin: Visualizer

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

Install Visualizer

Click OK to go ahead …

Install Visualizer Plugin For WordPress

Activate the plugin after successfully installing it …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install Visualizer Plugin For WordPress

Once the plugin has been activated, click on Library

Install Visualizer

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

WordPress Step-By-Step

This brings up the plugin’s Visualizer Library options …


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

Visualizer Plugin Configuration

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

WP Plugin: Visualizer

A page will appear on your browser displaying all of the default types of charts available.

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

WordPress Plugin: Visualizer

Your graph/chart type will open up in a new window.

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

Visualizer Plugin For WordPress

Important Info

When creating your CSV data file, make sure that:

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

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

WordPress Plugin: Visualizer

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

Once you have completed this step, 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 from your computer select ‘From Computer‘ …

Visualizer - WP Plugin

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

WP Plugin: Visualizer

The plugin imports your data and displays it using the graph/chart type chosen …

Visualizer - WP Plugin

Upload CSV File From The Web


Useful Info

For a step-by-step tutorial that shows you how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:

After importing the data, make sure that all of the information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and click ‘Next‘ …

WordPress Plugin: Visualizer

Depending on the chart or graph type selected, the plugin will display a range of customization settings …

WP Plugin: Visualizer

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


For example, the pie chart offers many configurable options, including:

  • 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 is looking, click on the ‘Create Chart’ button …


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

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer - WordPress Plugin

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


Plugin Usage

After you’ve created a graph or chart and added it to the Visualizer Library, it’s easy to insert it into pages or posts.

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 the ‘Add Media‘ button …


Click on ‘Visualizations‘ …

WP Plugin: Visualizer

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


This will add a shortcode into your content …


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

Publishing A WordPress Post

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


You will see your visual element in the location you specified …

Visualizer Plugin For WordPress

As mentioned previously, the plugin also displays responsive visual elements for viewing on mobile devices …

Visualizer - WordPress Plugin

As you can see, Visualizer allows you to insert and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This is very convenient if you’re adding interactive graph information in WordPress.


The developers of this plugin have created a number 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, go to the website below:

Congratulations! Now you know how to insert stunning and interactive bar charts and graphs into WordPress.


"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


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