graph for show page done, function for dynamic switching of attribute (tuition, hours) working