Encapsulated graphing of revenue progress within a function that gets called on $(document).ready().