Localized Graphs and Tables

@dsjen @rocha
Instead of adding a variable to the global namespace, the memoize function in underscore can be used to cache the result.