finished the tooltip visualization