delete unnecessary intermediate associative array in bar graph