Prototype: generate bar graph