It can't actually be self-contained, because of the bootstrap dependency, and the Thorax view is responsible for managing its scope. In the same way that each template has the data for a popover but isn't responsible for rendering the popovers, the population chart has the data but shouldn't be responsible for rendering them.