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 Create Charts And Graphs In Pages And Posts In WordPress

You’ve heard the adage “a picture is worth a thousand words.” This is certainly true when you’re presenting or explaining data.

Using graphs and charts is great for breaking up long or boring information, and making 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 numbers, percentages and relationships quickly, then graphs and charts are perfect for helping them interpret your data.

Insert Charts And Graphs Into Pages In WordPress

Charts and graphs help you explain complex information so your audience can more easily interpret it!

Need to add charts or graphs to your WordPress pages and posts? This step-by-step tutorial shows you how to use WP Visualizer – an easy-to-use and powerful plugin that allows you to create, manage and embed great-looking and mobile-responsive charts into your WordPress posts and pages that:

  • Your visitors can engage with
  • Lets you upload data from your computer or an online data source
  • Is responsive for mobile browsers

Visualizer - WP Plugin

Useful Tip

If you are displaying visual data like pie charts, comparison data or trending graphs that contain 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 and .png images and then simply insert the images into your web content.

If you want to embed dynamic bar charts and pie charts into WordPress, however, (especially if you would like to be able to do this with no code editing skills required, then a simple way to do this is to use a plugin.

Fortunately, there is a plugin for WordPress sites that is simple to install, easy-to-use and allows you to not only create appealing and dynamic graphs and charts, but to also populate these with updateable information.


Visualizer - WP Plugin

Plugin URL

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

Visualizer Plugin Description

The Visualizer plugin is a simple, easy to use and powerful tool that lets you create, manage and embed colorful charts and graphs into your WordPress posts and pages with 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 components 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

The plugin is also flexible and customizable, allowing you to use Google Chart Tools with their default setting, or configure an extensive set of options to match your site’s design. Several options are available for each chart that let you further 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 browsers without requiring the installation of additional plugins.

Plugin Installation

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

WordPress Plugins

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

Install Visualizer

Locate the item in the search results area and click Install Now

Install Visualizer Plugin For WordPress

Click OK to go ahead …

Install WP Plugin: Visualizer

Activate the plugin after successfully installing it …

Install Visualizer

You can also activate the plugin in the Plugins page …

Install Visualizer

After the 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 dashboard menu …

Installing WordPress Plugin

This brings up the plugin’s Visualizer Library options …

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 insert into your content.

How To Configure The Visualizer Plugin

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

Visualizer - WP Plugin

You will see all of the default kinds of graphs and charts available.

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


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

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

Visualizer - WordPress Plugin


When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data correctly …

Visualizer Plugin For WordPress

If you are unsure about how to format your CSV file, just use the sample 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 your CSV file and data from your hard drive select ‘From Computer‘ …

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important Info

For a tutorial that shows you 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 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 - WP Plugin

Depending on the chart or graph type you’ve picked, the plugin will display a number of customization settings and options …

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer - WP Plugin

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

WordPress Plugin: Visualizer

Note that every visual element is given a unique ID displayed as a shortcode. As you will see in a moment, this lets you add graphs and charts to your posts very quickly …

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Visualizer Plugin Usage

After you’ve created a new graph or chart and added it to Visualizer, adding it to a post or page is quite simple.

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

Visualizer Plugin For WordPress

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


Click on ‘Visualizations‘ …

Visualizer - WP Plugin

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

Visualizer Plugin For WordPress

This inserts a shortcode into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

Once your post has been published, click ‘View post’ to see the results …


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


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

Visualizer - WP Plugin

As you can see, WordPress Visualizer lets you add and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your website. This makes managing interactive graph information in WordPress very efficient.


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 additional tutorials on editing, copying, deleting and adding data to your charts, refer to the site below:

WordPress Visualizer – Additional Tutorials

Congratulations! Now you know how to insert dynamic pie charts and graphs into your WordPress pages.


[adrotate group="3"]

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

[adrotate group="6"]


Have you found this tutorial useful? If so, please take a moment to use the social buttons below to share this post with other WordPress users.

Author: Martin Aranovitch

Martin Aranovitch is the founder of and has authored hundreds of FREE WordPress tutorials for non-techies and beginners. provides detailed step-by-step tutorials that will teach you how to use WordPress with no coding skills required and grow your business online at minimal cost!

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