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

You’re probably familiar with the old saying “a picture is worth a thousand words.” This is certainly true when you are presenting or explaining complex information.

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

You can present information using tables, but if you want people to try and interpret complex information with figures, percentages and relationships quickly, then charts and graphs allow you to present your information in a meaningful and intelligent manner that can be quickly processed.

How To Create Graphs And Charts In A WordPress Page

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

Need to add charts and graphs to your WordPress content? This tutorial shows you how to use WP Visualizer – a simple, easy to use and powerful tool that lets you create, manage and insert dynamic graphs and charts into your WordPress posts and pages that:

  • Your web visitors can engage with
  • Lets you upload data from your hard drive or an online data source
  • Is fully responsive for mobile viewing

WP Plugin: Visualizer

Practical Tip

If you are displaying visual data like pie charts, comparison data or trending graphs containing static information (e.g. historical data), an easier way to add your information is to create your charts or graphs using an image editing application, convert these into jpg or png images and then simply insert your image files into your pages or posts.

Use WordPress Chart & Graph Plugins

If you want to easily create dynamic bars and graphs in your WordPress pages and posts 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 users that is simple to install, easy-to-use and allows you to not only create stunning and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with updatable information.

WP Plugin: Visualizer

WP Plugin: Visualizer

Plugin URL

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

Visualizer Description

The WordPress Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and embed mobile-responsive 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 addons are required.

Visualizer also comes with a variety of built-in 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 site’s 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 web visitors can see your charts and graphs on their mobile web browsers without requiring the installation of any additional software.

Plugin Installation

Inside your WP admin area, select Plugins > Add New from the dashboard menu …

WordPress Plugins

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

Install WordPress Plugin: Visualizer

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

Install Visualizer

Click OK to proceed …

Install Visualizer

Activate the plugin after installing it …

Install Visualizer Plugin For WordPress

You can also activate the plugin in the Plugins section …

Install Visualizer - WP Plugin

Once the plugin has been activated, click on Library

Install WP Plugin: Visualizer

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

Installing Plugin

This brings up the plugin’s Visualizer Library page …

WordPress Plugin: Visualizer

After installing the plugin, the library contains no charts.

Your next step is to add the charts and graphs to your library that you will want to display in your posts and pages.

How To Configure Visualizer

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

Visualizer Plugin For WordPress

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

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

Visualizer - WordPress Plugin

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

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


Important Info

When creating your CSV data file, ensure that:

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

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


If you are not sure how to format your CSV file, just refer to the sample provided with the plugin.

Once you have done this, 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‘ …

WP Plugin: Visualizer

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

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress


For a tutorial that shows you 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 data file with the right data), and click ‘Next‘ …

WordPress Plugin: Visualizer

Depending on the chart or graph type selected, the plugin displays various customization settings and options …

WP Plugin: Visualizer

The WordPress Visualizer plugin gives you complete control of your information, and updates your display in real time …

WP Plugin: Visualizer

For example, the pie chart offers various 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).

Visualizer - WordPress Plugin

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

WP Plugin: Visualizer

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

WP Plugin: Visualizer

Note that every visual element is given a unique ID displayed as a shortcode. As you will see very soon, this allows you to easily embed charts and graphs into your content …

WordPress Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

Plugin Usage

Once you’ve created a new element and added it to Visualizer, adding it to a page is quite simple.

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

WordPress Plugin: Visualizer

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


Click on ‘Visualizations‘ …


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

Visualizer Plugin For WordPress

This inserts a shortcode for the element into your content …

Visualizer - WordPress Plugin

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

Publishing A WordPress Post

After publishing your post, click ‘View post’ to see it …

Visualizer - WP Plugin

Your post or page displays the chart or graph in your content …


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

Visualizer - WP Plugin

As you can see, the Visualizer plugin lets you add and customize dynamic charts and graphs in your content. You can update your data and the changes will automatically be reflected throughout your site. This is great if you’re managing interactive chart data in WordPress.


The plugin developers have created a series of step-by-step 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, refer to the website below:

Congratulations! Now you know how to add stunning and mobile-responsive charts and graphs to WordPress.


"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

Disclaimer: This site has no direct association with WordPress, Automattic, or any of the products reviewed on this website. We may derive financial benefits or affiliate commissions from purchases of any third-party services and/or products mentioned on this site. All product images remain the copyright of their respective owners and are used solely for training or illustrative purposes.


Was this article useful? If so, please share this post with anyone thinking of starting a business online using the links below.

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.