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

Inserting Charts Into A WordPress Post Or Page

No doubt you’re familiar with the saying “a picture is worth a thousand words.” This certainly applies when you’re trying to present or explain data.

Using graphs and charts is useful for breaking up long passage of text, and making data simpler to grasp.

You can use tables to present information, but if you want your audience to try and make sense of complex data with figures, trends and comparisons more easily, then charts and graphs are perfect for helping them visualize the data.

How To Embed Updatable Charts Into A Post In WordPress

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

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

  • Your site visitors can engage with
  • Lets you upload data from your computer or a web-based data source
  • Is dynamically responsive for mobile device users

WP Plugin: Visualizer


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

Use WordPress Chart & Graph Plugins

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

Fortunately, there is a plugin for WordPress users that is simple to install, easy-to-use and allows you to not only create eye-catching and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with updatable content.

WordPress Plugin: Visualizer

Visualizer Plugin For WordPress

Plugin URL

You can install the plugin inside your WP dashboard (explained further below), or access and download WordPress Visualizer from the link below:

Plugin Description

WP Visualizer is a simple, easy to use and powerful plugin that allows you to create, manage and embed colorful charts into your WordPress posts and pages with a few simple steps.

The plugin 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 add-ons are needed.

Visualizer also comes with a variety of charts that are optimized to address 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 web design. Various options are available for each chart that let you 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 device browsers without requiring the installation of additional software.

Plugin Installation

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

WordPress Step-By-Step Tutorial

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

Install Visualizer

Locate Visualizer in the search results area and click the “Install Now” button …

Install Visualizer - WordPress Plugin

Click OK to go ahead …

Install Visualizer Plugin For WordPress

Activate the plugin after installation is successful …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins page …

Install Visualizer - WordPress Plugin

Once your plugin has been activated, click on Library

Install Visualizer Plugin For WordPress

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

WP Plugins

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

Visualizer - WP Plugin

When you first install the plugin, the library will contain no charts.

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

Plugin Configuration

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

Visualizer - WordPress Plugin

A gallery displaying all of the default types of charts and graphs available will come up on your screen.

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

WP Plugin: Visualizer

The graph/chart type will open up in a new window.

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

Visualizer - WP Plugin


When creating your CSV data file, ensure that:

  • Your first row includes your column headings.
  • Your second row includes the series type (e.g. boolean, date, 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 CSV file supplied with the plugin.

Next, select your 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 hard drive select ‘From Computer‘ …


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

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer Plugin For WordPress

Useful Info

For a 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 data file with the correct data), and click ‘Next‘ …

WP Plugin: Visualizer

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

Visualizer Plugin For WordPress

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

WordPress 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 satisfied with the look of your chart or graph, click Create Chart

WordPress Plugin: Visualizer

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

Visualizer - WordPress Plugin

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


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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

Visualizer 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 would like to insert your visual element into the content and click on the ‘Add Media‘ button …


Click on ‘Visualizations‘ …

Visualizer - WordPress Plugin

Select the element to be inserted into your content and click the “insert” icon …


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

Visualizer - WordPress Plugin

Once you have added your shortcode, 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 results …


The chart will appear in the content …

WordPress Plugin: Visualizer

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


As you can see, the Visualizer plugin allows you to add and customize dynamic charts and graphs in your content. You can change your data and your changes will automatically be reflected wherever you have inserted your charts, graphs, comparison bars , etc. in your site. This makes adding dynamic chart information in WordPress really efficient.


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

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

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


"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group


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