abstract out the creation of bar charts refactor code to use them
add chart for package sizes