charts appear on page after 2 clicks on the map; still needs prettying