bar graph with dynamic color coding and named bars