rename to chart_data
fix scenario when data is empty