How To Add Charts And Graphs To WordPress

You’ve no doubt heard the old saying “a picture is worth a thousand words.” This certainly applies when you’re trying to present or explain data.
Charts and graphs are a great way to make statistical data and information a whole lot easier to grasp.
You can present data with tables, but if you want your audience to try and interpret complex information with numbers, percentages or relationships quickly, then charts and graphs allow you to present information in an intelligent and meaningful manner that can be quickly understood.

Graphs and charts help present complex information so your audience can more easily understand it!
If you want to learn how to present dynamic visual content on your WordPress site using graphs and charts, this tutorial will show you how to create colorful and updatable charts to your pages that:
- Your site visitors can engage with
- Allows you to upload data from your hard drive or an online data source
- Resizes dynamically for mobile screens

![]()
If you are displaying visual data like bar charts, comparison data or trending graphs containing 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 images and then simply insert the files and an image into your pages or posts.
Use WordPress Chart & Graph Plugins
If you want to easily add dynamic bar charts and graphs to your WordPress posts with no coding skills required, the easiest way to do this is to use a plugin.
Fortunately, there is a free plugin for WordPress that is simple to install, easy-to-use and allows you to not only create appealing and interactive graphs and charts, it also lets you populate your charts and graphs with updatable data.
Visualizer

Visualizer Plugin URL
You can install the plugin from your WordPress dashboard (explained further down the page), or download WP Visualizer here:
http://wordpress.org/plugins/visualizer
Visualizer Description
Visualizer is a simple, easy to use and powerful WP plugin that lets you create, manage and insert colorful and mobile-responsive charts and graphs 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 extra add-ons are needed.
Visualizer also provides a variety of built-in 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
WordPress Visualizer 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 fully customize their look.
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 visitors can see your charts and graphs on their mobile devices without having to install any extra plugins.
How To Install The Plugin
Inside your WP admin area, select Plugins > Add New from the dashboard menu …

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

Locate Visualizer in the search results section and click Install Now …

Click OK to continue …

Activate the plugin …

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 choosing Media > Visualizer Library in the main menu …

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

After installing the plugin, the library contains no charts.
Your next step is to add the charts and graphs to your library that you plan to publish to your posts or pages.
Plugin Configuration
To add a graph or chart to the library, click on Add New …

A page will appear on your browser displaying all of the default types of graphs available.
Select the type of chart or graph you would like to create and click on the ‘Next’ button …

Your graph/chart type will open up in a new window.
The next step is to upload a CSV file with your data …

![]()
When creating your CSV data file, make sure that:
- The first row contains your column headings.
- The second row includes the series type (e.g. string, timeofday, 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 the 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‘ …

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

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

Upload CSV File From The Web

![]()
For a step-by-step tutorial that explains how to create, save and publish data to a Visualizer chart or graph using Google Spreadsheet, go here:
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 containing the correct data), and then click ‘Next‘ …

Depending on the chart or graph type you’ve chosen, the plugin displays a range of customization options …

The plugin gives you complete control of 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 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).

Once you’re happy with how your graph or chart is looking, click Create Chart …

The new graph or chart will be added to your Visualizer ‘Library’ …

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

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

After adding a graph or chart to the ‘Visualizer Library’, you can edit it, clone it, or trash it …

Plugin Usage
After creating a element and adding it to the Visualizer Library, it’s simple to insert it into your posts or pages.
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 the ‘Add Media‘ button …

Click on ‘Visualizations‘ …

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

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

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

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

The chart will display in the location where you have inserted the shortcode …

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

As you can see, 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 working with interactive chart data in WordPress really easy.
![]()
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 WordPress Visualizer.
For tutorials on editing, cloning, deleting and adding data to your charts, visit the site below:
Congratulations! Now you know how to add appealing and dynamic bar charts and graphs to WordPress with WP Visualizer plugin.
***
"I am beyond impressed with what you have put together. I can tell that you put a ton of hard work into building what you have. You have the absolute best content on WordPress I have ever seen!" - Robert T. Jillie
***