Why am I getting an exception
Uncaught Error: Graph container element not found
when using morris.js?
JavaScript's code gets executed before the DOM contains #annual element. Put the javascript after the div or use jQuery.ready()