How To Add Charts And Graphs To WordPress

Learn how to create, manage and embed stunning graphs into your WordPress posts and pages with a few simple steps.

How To Insert Attractive Graphs And Charts Into WordPress Pages And Posts

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This is certainly true when you’re trying to present and explain complex information.

Graphs and charts help to make data simpler and easier to grasp.

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

How To Embed Attractive Graphs Into WordPress Pages

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

If you want to display dynamic visual content on your WordPress site like graphs and charts, this step-by-step tutorial will show you how to create colourful and interactive charts and graphs to your WP posts that:

  • Your visitors can interact with
  • Allows you to add data from your computer or an online source of data
  • Is fully responsive for mobile device screens


Useful Tip

If you plan to display visual data like bar charts, comparison graphs or trending graphs containing information that is not going to change (e.g. historical data), an easier option is to create your graphs or charts using an image editing application, convert these into images and then simply insert your image files into your pages.

If you want to embed interactive bar charts and pie graphs into WordPress, however, (especially if you want to be able to do this without writing code, then a simple way to do this is by using a plugin.

Fortunately, there is a WordPress plugin that is simple to install, easy-to-use and allows you to not only create eye-catching and interactive graphs and charts, but also to populate your graphs and charts with updatable content.


Visualizer - WordPress Plugin

Visualizer Plugin URL

You can install the plugin inside your WP dashboard (see a little further below), or download the Visualizer plugin from the link below:

Plugin Description

WP Visualizer is an easy-to-use and powerful tool that allows you to create, manage and insert beautiful and dynamic charts and 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 additional add-ons are required.

The plugin also contains 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 web design. Various 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 visitors can see your charts and graphs on their mobile web browsers without having to install additional plugins.

Plugin Installation

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

WP Step-By-Step Tutorial

In the Add Plugins page type in “visualizer” into the search field and hit enter …

Install Visualizer Plugin For WordPress

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

Install WP Plugin: Visualizer

Click OK to go ahead …

Install Visualizer

Activate the plugin …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins page …

Install Visualizer

After the plugin has been activated, click on Library

Install Visualizer

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

How To Intall Plugins

This brings up the plugin’s Visualizer Library options …

Visualizer - WordPress Plugin

When you first install the plugin, the library contains no charts.

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

How To Configure The Plugin

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

Visualizer - WordPress Plugin

An image gallery displaying all the types of graphs available will load on your screen.

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


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

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

Visualizer - WP Plugin


When creating your CSV data file, make sure that:

  • The first row includes the column headings.
  • The second row includes the series type (e.g. string, timeofday, etc.)

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

WP Plugin: Visualizer

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

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Upload CSV File From The Web



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

How To Populate Data Using Google Spreadsheet

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

Visualizer gives you complete control over your information, and updates your display in real time …

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Once you are happy with the way your graph or chart appears, click on the ‘Create Chart’ button …

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Note that every visual element is given a unique ID displayed in a shortcode. As you will see shortly, this allows you to embed graphs and charts into your WordPress posts easily and quickly …

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

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


Plugin Usage

After creating a element and adding it to the Library, it’s really simple to insert it into a post or page.

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

WP Plugin: Visualizer

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


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


This will place a shortcode into your content …

WP Plugin: Visualizer

Once you have finished adding the visual element, click on Publish to publish (or update) your page or post …

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

Your page or post displays the graph or chart in the location you specified …

Visualizer - WordPress Plugin

As mentioned previously, the plugin also displays responsive charts for mobile browsers …


As you can see, WordPress Visualizer lets you add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected throughout your website. This makes managing dynamic chart information in WordPress very easy.


The developers of this plugin have created a number of step-by-step tutorials you can refer to to learn how to edit, customize and use the Visualizer plugin for WordPress.

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

WordPress Visualizer – Additional Tutorials

Congratulations! Now you know how to create colorful and dynamic pie charts and graphs in WordPress with WP Visualizer.


"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

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


Was this post useful? Please feel free to use the social links below to share this article with anyone thinking of starting or growing a business online.

Author: Martin Aranovitch provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!