Given an object containing quarterly sales values for a year, return a string representing a bar chart of the sales by quarter.
barChart({Q4: 250, Q1: 300, Q2: 150, Q3: 0})
➞ "Q1|###### 300\nQ4|##### 250\nQ2|### 150\nQ3|0"
When printed:
Q1|###### 300
Q4|##### 250
Q2|### 150
Q3|0
barChart({Q4: 500, Q3: 100, Q2: 100, Q1: 150})
➞ "Q4|########## 500\nQ1|### 150\nQ2|## 100\nQ3|## 100"
When printed:
Q4|########## 500
Q1|### 150
Q2|## 100
Q3|## 100
There should be no additional whitespace after each value.