changed data structure for area data chart