<% unless question.nil? %>
  <% if question.responses.empty? %>
    No responses...
  <% else %>
    <% num_entries ||= 7 %>
    <table>
      <% question.response_histogram.slice(0, num_entries).each do |h| %>
        <tr style='font-size:<%= 0.8+h[1]/20.0 %>em' class='histogram-pair'>
          <td class='histogram-word' nowrap="nowrap">
            <%= h[0] %>
          </td>
          <td class='histogram-count'>
            <%= h[1] %>
          </td>
          <td style='width:200px'>
            <div class='histogram-graph' style='width: <%= h[1]*8 %>px;'>&nbsp;</div>
          </td>
        </tr>
      <% end %>
    </table>
  <% end %> 
<% end %>

<% unless question.nil? %>
  <% if question.responses.empty? %>
    No responses...
  <% else %>
    <% num_entries ||= 7 %>
    <table>
      <% question.response_histogram.slice(0, num_entries).each do |h| %>
        <tr style='font-size:<%= 0.8+h[1]/20.0 %>em' class='histogram-pair'>
          <td class='histogram-word' nowrap="nowrap">
            <%= h[0] %>
          </td>
          <td class='histogram-count'>
            <%= h[1] %>
          </td>
          <td style='width:200px'>
            <div class='histogram-graph' style='width: <%= (h[1].to_f) / (@poll.responses.count) * 200 %>px;'>&nbsp;</div>
          </td>
        </tr>
      <% end %>
    </table>
  <% end %> 
<% end %>

Scale historgrams to ratio of 200px
Scale historgrams to ratio of 200px
