fixes pipe error and displays bar chart
Merge pull request #72 from biversen21/master

fixes pipe error and displays bar chart