Skip to main content

Very Easy jQuery Horizonal Bar Chart

By Sam Deering



Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95


This is how to setup your own jQuery bar chart in just a few easy steps. The demo is a horizonal bar chart but you can change the settings of the plugin to vertical, change speed and colors.



  1. Download the jquery.charts.js plugin
  2. Copy the HTML code below
  3. Change the data in the table

That’s it! :-)

HTML and jQuery Code

< ?xml version="1.0" encoding="UTF-8"?>
< !doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "">

<script src=""></script>
<script type="text/javascript" language="javascript" src="/js/jquery.charts.js"></script>


<table id="stats">






<script type="text/javascript">


Related Articles

Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.

New books out now!

Learn the basics of programming with the web's most popular language - JavaScript

A practical guide to leading radical innovation and growth.

Integromat Tower Ad