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 Add Charts To Pages And Posts In WordPress

You’ve heard the saying “a picture is worth a thousand words.” This certainly applies when you’re trying to present and explain complex data.

Using charts and graphs is a great way to make data simpler and easier to grasp.

You can use tables to present information, but if you want your audience to try and interpret complex data with figures, percentages and comparisons quickly, then graphs and charts are perfect for helping them understand your data.

How To Insert Charts And Graphs Into A WordPress Post

Charts and graphs help you present complex data so people can more easily interpret it!

Need to add charts or graphs to your WordPress posts? This step-by-step tutorial shows you how to use WP Visualizer – an easy-to-use and powerful WP plugin that allows you to create, manage and insert eye-catching and interactive charts into your WordPress posts and pages that:

  • Your visitors can interact with
  • Lets you add data from your hard drive or an online data source
  • Is responsive for mobile viewers

Visualizer - WordPress Plugin

Practical Tip

If you are displaying visual data like pie charts, comparison graphs or trending graphs containing static information (e.g. historical data), a simple method you can use to display your information is to create your graphs or charts using a desktop application, convert these into images and then simply insert your image files into your posts or pages.

Use WordPress Chart & Graph Plugins

If you want to easily embed dynamic bar charts and graphs into WordPress with no coding skills required, the easiest way to do this is to use a plugin.

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

WordPress Plugin: Visualizer

WP Plugin: Visualizer

Visualizer URL

You can install the plugin in your WordPress dashboard (explained a little further below), or download WordPress Visualizer from the link below:

http://wordpress.org/plugins/visualizer

Visualizer Description

Visualizer is an easy-to-use and powerful WordPress plugin that allows you to create, manage and embed eye-catching and interactive charts 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 extra components are required.

Visualizer also comes with a variety of charts 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

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 the look and feel of your website. Various options are available for each chart that let you 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 browsers without requiring the installation of any additional plugins.

Plugin Installation

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

WP Step-By-Step Tutorial

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

Install Visualizer - WP Plugin

Locate the entry in the search results section and click the “Install Now” button …

Install Visualizer - WP Plugin

Click OK to proceed …

Install Visualizer - WP Plugin

Activate the plugin after installing it …

Install Visualizer

You can also activate the plugin in the Plugins section …

Install Visualizer Plugin For WordPress

After the plugin has been activated, click on Library

Install WordPress Plugin: Visualizer

You can get to the plugin’s ‘library’ screen by choosing Media > Visualizer Library in your main menu …

WP Plugins

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

Visualizer Plugin For WordPress

When you first install the plugin, the library section will be empty.

Your next step is to add the charts and graphs to your library that you will want to display in your pages or posts.

Visualizer Configuration

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

Visualizer - WP Plugin

You will be presented with all of the types of graphs and charts available.

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

Visualizer - WP Plugin

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

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

Visualizer

Useful Info

When creating your CSV data file, make sure that:

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

The screenshot below shows how to format your data as explained above …

WP Plugin: Visualizer

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

Once you have done this, 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 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 - WP Plugin

The plugin will import your data from the CSV file and display it using the graph/chart type chosen …

Visualizer Plugin For WordPress

Upload CSV File From The Web

Visualizer Plugin For WordPress

Important

For a step-by-step tutorial that shows you 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 the information is correct (if not, click on the ‘Back’ button and reupload a data file with the correct data), and then click ‘Next‘ …

Visualizer - WP Plugin

Depending on the chart or graph type you have selected, the plugin will display various customization settings and options …

Visualizer Plugin For WordPress

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

WordPress Plugin: Visualizer

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

WP Plugin: Visualizer

Once you are happy with the look of your chart or graph, click Create Chart

Visualizer Plugin For WordPress

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

Visualizer - WordPress Plugin

Note that every element is given a unique ID displayed as a shortcode. As you will see shortly, this lets you add charts and graphs to your WordPress posts easily …

Visualizer Plugin For WordPress

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

Visualizer

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

Visualizer

Visualizer Plugin Usage

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

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

WordPress Plugin: Visualizer

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 inserted into your content and click on the “insert” icon …

Visualizer Plugin For WordPress

This will add a shortcode into your content …

WordPress Plugin: Visualizer

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

Publishing A WordPress Post

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

Visualizer

Your post or page should display the graph or chart in the location you specified …

Visualizer Plugin For WordPress

As mentioned previously, Visualizer also displays responsive graphs for mobile devices …

Visualizer - WordPress Plugin

As you can see, WordPress Visualizer allows you to insert and customize dynamic charts and graphs in your content. You can edit your data and the changes will automatically be reflected throughout your website. This makes working with dynamic chart data in WordPress very efficient.

Tutorial

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

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

Congratulations! Now you know how to create appealing and dynamic bar charts and graphs in WordPress.

***

"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

***