refactored, now you add charts with the ID of the overall container div for all of the charts rather than manually creating a container div for each chart and passing that ID as the argument