Prevented bar chart instance from initialize if an empty array is sent.
Wrote usage instructions