Greatly Revise Bar Chart Code

- delete auto-generated PDF file
- add proper licence header
- add half-ass documentation
- add dynamic x-axis label and title creation
(cherry picked from commit 3194341c1e1b932625aaa4692cff232aa8f88a76)