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

Adding Charts To A Post In WordPress

No doubt you’re familiar with the old adage “a picture is worth a thousand words.” This certainly applies when you are presenting and explaining complex information.

Using charts and graphs is useful for breaking up long chunks of technical information, and making data much simpler to digest.

You can present data with tables, but if you want your audience to try and make sense of complex data with numbers, trends or relationships easily, then charts and graphs are perfect for helping them interpret the data.

How To Embed Graphs Into A Post Or Page In WordPress

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

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

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

Visualizer Plugin For WordPress

Useful Tip

If you plan to display visual data like bar charts, comparison data or trending graphs containing static information (e.g. historical data), a simple method you can use is to create the graphs or charts using a desktop application, convert these into jpg or png files and then simply add your images to your content.

Use WordPress Chart & Graph Plugins

If you want to easily insert interactive bar charts and pie graphs into WordPress with no coding skills required, the easiest way to do this is to use a plugin.

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

WordPress Plugin: Visualizer

WP Plugin: Visualizer

Plugin URL

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

Visualizer Plugin Description

Visualizer is a simple, easy to use and powerful plugin that allows you to create, manage and embed beautiful graphs into your WordPress posts and pages with 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 plugins are required.

WordPress Visualizer also comes with 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

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 web design. Several options are available for each chart that allow you to 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 browsers without requiring the installation of any additional software.

Plugin Installation

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

WP Step-By-Step Tutorial

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

Install WP Plugin: Visualizer

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

Install Visualizer Plugin For WordPress

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 section …

Install WordPress Plugin: Visualizer

Once the plugin has been activated, click on Library

Install Visualizer Plugin For WordPress

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

WP Step-By-Step Tutorial

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

WordPress Plugin: Visualizer

After installing the plugin, the library section will be empty.

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

How To Configure The Plugin

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

Visualizer Plugin For WordPress

A visual gallery displaying all of the types of graphs available will load on your screen.

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

WordPress Plugin: Visualizer

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

The next step is to upload a CSV file containing all the data you would like to populate your chart or graph with …

Visualizer - WordPress Plugin


When creating your CSV data file, ensure that:

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

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


Use the browser to locate and select your file and then click on ‘Open‘ …

WP Plugin: Visualizer

The plugin will now import the data from the CSV file and display it using the graph/chart type chosen …

Visualizer - WP Plugin

Upload CSV File From The Web

Visualizer Plugin For WordPress


For a step-by-step tutorial that explains how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, see the article below:

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


Depending on the chart or graph type you have picked, the plugin will display various customization options …

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

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

  • 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 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).

WordPress Plugin: Visualizer

Once you’re happy with the way your graph or chart looks, click Create Chart

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

Plugin Usage

Once you have created a new element and added it to the Library, it’s really simple to insert it into a page.

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‘ …


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

Visualizer - WordPress Plugin

This adds a shortcode into your content …


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

Publishing A WordPress Post

After the page has been updated, click ‘View post’ to see it …

Visualizer Plugin For WordPress

You will see the chart in the location you specified …

Visualizer - WordPress Plugin

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

Visualizer - WordPress Plugin

As you can see, the Visualizer plugin allows you to insert and customize dynamic charts and graphs in your content. You can change your data and the changes will automatically be reflected throughout your site. This is one of the great benefits of using the Visualizer plugin if you’re working with interactive chart data in WordPress.


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

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

Congratulations! Now you know how to easily create appealing and interactive charts and graphs in WordPress.


"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams,

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 services and products offered on this site are not affiliated, associated, endorsed, or sponsored by WordPress, nor have they been reviewed, certified, or tested by WordPress. The owner, contributors and/or advertisers may derive financial benefit from sales of items linked to, advertised, or reviewed on this site.


Did you enjoy this article? If so, please consider using the social links below and share this article with others who could benefit from learning about WordPress.

Author: Martin Aranovitch

Martin Aranovitch is the founder of and the author of The Small Business Digital Manager. provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

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