title: Python, sort a dict to represent a histogram
body: <p>I have a <code>dict</code> struture in python like this, </p>
  
  <pre><code>{'68': 1, '10': 2, '3': 1, '50': 1}
  </code></pre>
  
  <p>I would like to print out a histogram representing the <code>dict</code>. The problem is that I am not sure how to sort the <code>dict</code> in such a way as to produce the histogram. </p>
  
  <p>I have seen many posts on how to sort a <code>dict</code> in increasing/decreasing order by either keys or values, but nothing to arrange it in a histogram format; where the largest value's key is in the center and the others are distributed on either side to create a nice mountain-ish looking graph. </p>
  
  <p>Currently I can print out the <code>dict</code> in a histogram type format, but again, it is not sorted into a structure resembling histogram</p>
  
  <p>Any ideas as to how I would sort my <code>dict</code> into a histogram? Maybe <code>numpy</code> or <code>collections</code> has something I do not know about?</p>