Was trying to make tooltips before svg was drawn