Preliminary latest changes to rework so multiple graphs can be added to a single svg container.