Print ASCII histogram The challenge is to give as short code as possible to print an ASCII histogram of a set of data.

Input.  The number of bins followed by a number of integers representing the data. The data are space separated.

Output. An ASCII histogram of the data using the specified number of bins.

Score. Number of characters in the code excluding trailing whitespace at the beginning or end of each line.

Example input.

2    2    3    4    2    2    5


Example output.

*
*
**
**


Update. The answers are all great although I can only ever imagine using the one in R.  No python contribution?
APL 66 51
' *'[1+(⌽⍳b)∘.≤v←+/(⍳b)∘.=⌈x[⍋x]÷(⌈/x←1↓v)÷b←↑v←⍎⍞]

Using the example I quoted in my comment on the question where the bin size is 2.25:
4 1 1 2 2 5 8 9 6 3

*
*
* **
****