Cleaned up demo code and add min value to bar charts