Embed Attractive Charts And Graphs Into A Page In WordPress

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

Using charts and graphs is a great way to break up long and difficult information, and make statistical data more easily digestible.

You can use tables to present information, but if you want people to try and make sense of complex information with figures, trends or comparisons more easily, then charts and graphs let you present information in an intelligent and meaningful way that can be quickly processed.

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

Need to add charts or graphs to WordPress? This tutorial shows you how to use WordPress Visualizer – a simple, easy to use and powerful WP plugin that allows you to create, manage and insert interactive charts into your WordPress posts and pages with a few mouse clicks that:

  • Your web visitors can interact with
  • Lets you add graph or chart data from your computer or an online data source
  • Is responsive for mobile device screens


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

If you want to easily create dynamic bar charts and pie graphs in WordPress, however, (especially if you would like to do this with no code editing skills required, then a simple way to do this is by using a plugin.

Fortunately, there is a great plugin for WordPress sites that is simple to install, easy-to-use and allows you to not only create beautiful and interactive graphs and charts, but to also populate your graphs and charts with updateable content.

WP Plugin: Visualizer

You can install the plugin in your WP dashboard (see further down the page), or access and download Visualizer here:


Plugin Description

Visualizer is a simple, easy to use and powerful tool that allows you to create, manage and embed colorful and interactive charts into your WordPress posts and pages in just a few mouse clicks.

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 addons are required.

Visualizer also comes with a variety of built-in optimized for 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 your site’s design. Several options are available for each chart that allow you to 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 web visitors can see your charts and graphs on their mobile devices without requiring the installation of extra software.

How To Install The Plugin

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

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

Locate the entry in the search results screen and click Install Now

Click OK to go ahead …

Activate the plugin after installation is successful …

You can also activate the plugin in the Plugins section …

After your plugin has been activated, click on Library

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

This brings up the plugin’s Visualizer Library settings screen …

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

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

How To Configure Visualizer

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

An image gallery displaying all of the different types of 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 …

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

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


When creating your CSV data file, ensure that:

  • Your first row includes the column headings.
  • The second row includes the series type (e.g. string, datetime, etc.)

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

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

Once you have created your CSV file, select the 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‘ …

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

The plugin will import the data and display it using the graph/chart type you have previously selected …

Upload CSV File From The Web


For a tutorial that explains 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 your data, check that all of the information is correct (if not, click on the ‘Back’ button and reupload a new data file containing the correct data), and then click ‘Next‘ …

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

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

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

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

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

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

Graphs and charts added to the Visualizer Library can easily be accessed by their type …

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

Visualizer Usage

After creating a new chart or graph and adding it to the Visualizer Library, adding it to pages or posts is really very simple.

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

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

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

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

Once you have finished adding the element, click on Publish to publish (or update) your page or post …

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

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

As mentioned previously, the plugin also displays responsive charts for viewing on mobile devices …

As you can see, WordPress Visualizer 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 website. This makes working with dynamic graph data in WordPress very easy.


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

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

WordPress Visualizer – Additional Tutorials


Congratulations! Now you know how to add beautiful and mobile-responsive pie charts and graphs to your WordPress posts and pages with WP Visualizer plugin.


[magicactionbox id=”15384″]

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

Leave a comment

Scroll to Top