init colors for columns, dynamically generate js for charts, choice for the charts or the table