df[i].key['alert']] = df[i].value;
                        }
                    });

                    layer.setStyle({
                        fillColor: flu_colors[alert_level_for_whole_year(alerts)],
                    });
                }
            });
            dc.renderAll(); // render all charts on the page
    });
    
    /*
    //Lets create a row chart
    RowChart.dimension(stateDim)
        .group(stateGroup)
        .width(500);
        
    RowChart.getColor = function(d, i){
       