commented the spider chart function