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

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This certainly applies when you’re presenting or explaining complex data.

Using charts and graphs is useful for breaking up long passage of technical information, and making data much easier to digest.

You can use tables to present information, but if you want people to try and interpret complex data with numbers, trends and relationships quickly, then graphs and charts are perfect for helping them interpret your information.

Add Graphs To A Post In WordPress

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

If you want to present dynamic visual content on your WordPress site using charts and graphs, this step-by-step tutorial will show you exactly how to create and add eye-catching and updatable charts to your posts that:

  • Your visitors can interact with
  • Lets you upload data from your computer or a web-based data source
  • Is responsive for mobile screens


Useful Tip

If you are displaying visual data like bar charts, comparison graphs or trending graphs that contain static information (e.g. historical data), a simple method you can use is to create your charts or graphs using a desktop application, convert these into jpg and png images and then simply add the files and an image to your post or page.

Use WordPress Chart & Graph Plugins

If you want to insert interactive bars and pie charts into 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 that is simple to install, easy-to-use and allows you to not only create colorful and mobile-responsive graphs and charts, it also lets you populate your charts and graphs with dynamic information.

Visualizer – WP Plugin


Visualizer URL

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

Visualizer Plugin Description

WordPress Visualizer is an easy-to-use and powerful WordPress plugin that lets you create, manage and insert eye-catching and mobile-responsive charts and graphs into your WordPress posts and pages in a few simple steps.

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

WordPress Visualizer 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 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 let you fully 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 site visitors can see your charts and graphs on their mobile web browsers without having to install additional plugins.

How To Install Visualizer

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

Installing Plugins

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

Install Visualizer - WordPress Plugin

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

Install Visualizer - WP Plugin

Click OK to continue …

Install Visualizer - WordPress Plugin

Activate the plugin after successfully installing it …

Install Visualizer - WordPress Plugin

You can also activate the plugin in the Plugins section …

Install Visualizer

Once your plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

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

Installing Plugins

This brings up the plugin’s Visualizer Library options …

WP Plugin: Visualizer

After installing the plugin, the library contains no charts.

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

How To Configure Visualizer

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


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

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

WordPress Plugin: Visualizer

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

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

Visualizer Plugin For WordPress

Important Info

When creating your CSV data file, make sure that:

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

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


If you are not sure how to format your data CSV, simply refer to 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 a CSV file from your computer select ‘From Computer‘ …


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

WordPress Plugin: Visualizer

The plugin will now import your data and display it using the graph/chart type selected …


Upload CSV File From The Web


Important 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 the data, make sure that all of the information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and click ‘Next‘ …

Visualizer - WordPress Plugin

Depending on the chart or graph type you have picked, the plugin displays a number of customization settings and options …

Visualizer - WordPress Plugin

Visualizer gives you full control over your chart or graph, and updates your display in real time …


For example, the pie chart offers many configurable options, including:

  • 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 Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

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

WordPress Plugin: Visualizer

Visualizer Plugin Usage

After creating a new chart or graph and adding it to the Visualizer Library, it’s easy to add it to a post or page.

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


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


Find the chart or graph you want to add to your content and click on the “insert” icon …

Visualizer - WP Plugin

This inserts a shortcode for the element into your content …

Visualizer Plugin For WordPress

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

Publishing A WordPress Post

After updating the page, click ‘View post’ to see it …

Visualizer - WordPress Plugin

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

Visualizer Plugin For WordPress

As mentioned previously, Visualizer also displays responsive charts and graphs for viewing on mobile devices …

WordPress Plugin: Visualizer

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


The plugin developers have created a series of tutorials you can refer to for ways to edit, customize and use the Visualizer plugin for WordPress.

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

Congratulations! Now you know how to add great-looking and dynamic charts and graphs to your WordPress posts.


"These tutorials have so much information and are easy to understand. If you use WordPress or plan to in the future these will help you with everything you need to know." - Valisa (Mesa, Arizona)


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