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 Appealing Charts And Graphs To A WordPress Page Or Post

No doubt you’re familiar with the old adage “a picture is worth a thousand words.” This is certainly true when you are trying to present or explain complex data.

Charts and graphs can help to make statistical data and information more easily digestible.

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

How To Create Graphs And Charts In WordPress

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

Need to add charts and graphs to your WordPress posts? This step-by-step tutorial shows you how to use the WordPress Visualizer plugin – a simple, easy to use and powerful tool that lets you create, manage and insert great-looking and mobile-responsive graphs and charts into your WordPress posts and pages with just a few mouse clicks that:

  • Your visitors can engage with
  • Allows you to add data from your computer or a web-based data source
  • Will dynamically resize for mobile viewing



If you plan to display visual data like pie charts, comparison graphs or trending graphs which contain information that is not going to change (e.g. historical data), an easier way to add your data is to create the charts or graphs using an image editing application, convert these into images and then simply insert your image into your web content.

Use WordPress Chart & Graph Plugins

If you want to embed dynamic bars and pie graphs into your WordPress posts with no coding skills required, the easiest way to do this is to use a plugin.

Fortunately, there is a free WordPress plugin that is simple to install, easy-to-use and allows you to not only create colorful and dynamic charts and graphs, it also lets you populate your charts and graphs with updatable information.


Visualizer - WordPress Plugin

Visualizer Plugin URL

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

Visualizer Plugin Description

WP Visualizer is an easy-to-use and powerful plugin for WordPress that allows you to create, manage and insert stunning graphs and charts into your WordPress posts and pages in just a few simple steps.

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 plugins are needed.

Visualizer 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

Visualizer is flexible and customizable, 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 blog or site visitors can see your charts and graphs on their mobile web browsers without requiring the installation of extra software.

Plugin Installation

Inside your WordPress dashboard, select Plugins > Add New from the main menu …

WordPress Plugins

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

Install Visualizer - WP Plugin

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

Install WP Plugin: Visualizer

Click OK to proceed …

Install WP Plugin: Visualizer

Activate the plugin …

Install Visualizer

You can also activate the plugin in the Plugins section …

Install WP Plugin: Visualizer

After your plugin has been activated, click on Library

Install Visualizer - WordPress Plugin

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

WordPress Plugins

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

Visualizer - WP Plugin

When you first install the plugin, the library section will be empty.

The next step is to add the charts and graphs to your library that you plan to display in your posts and pages.

Visualizer Plugin Configuration

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

Visualizer - WordPress Plugin

You will see all of the built-in types of graphs available.

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

Visualizer - WordPress Plugin

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

The next step is to upload a CSV file with all the data you want your chart or graph to be populated with …

Visualizer Plugin For WordPress


When creating your CSV data file, make sure that:

  • The first row contains the column headings.
  • The second row contains the series type (e.g. number, date, etc.)

The screenshot below shows how to format your data correctly …


If you are not sure how to format your CSV file, simply refer to the sample CSV file provided 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 your CSV file and data from your hard drive select ‘From Computer‘ …

WordPress Plugin: Visualizer

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


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

Visualizer - WordPress Plugin

Upload CSV File From The Web

Visualizer - WP Plugin

Important Info

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

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

Visualizer Plugin For WordPress

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


The WordPress Visualizer plugin gives you total control of your chart or graph, and updates your display in real time …

WP Plugin: Visualizer

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

WP Plugin: Visualizer

Once you’re satisfied with the way your chart or graph looks, click on the ‘Create Chart’ button …


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

Visualizer Plugin For WordPress

Note that new visual elements are given a unique ID displayed in a shortcode. As you will see shortly, this allows you to easily insert charts and graphs into your content …

Visualizer Plugin For WordPress

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


After adding an element to the ‘Visualizer Library’, you can edit it, clone it, or delete it …


Visualizer Plugin Usage

After creating a new graph or chart and adding it to Visualizer, adding it to a post is very simple.

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

Visualizer - WordPress Plugin

Next, place your mouse cursor where you want to insert your visual element into your content and click on Add Media


Click on ‘Visualizations‘ …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

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


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

Publishing A WordPress Post

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

Visualizer Plugin For WordPress

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

As you can see, the Visualizer plugin lets you add and customize dynamic charts and graphs in your content. You can edit your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This is a real time-saver if you’re working with interactive graph data in WordPress.


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

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

Congratulations! Now you know how to easily insert interactive pie charts and graphs into 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


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