Move code for brand bar graph into generic bar graph file.