Make histogram from data table in R
<p>I have a variable say a which has data as</p>

<pre><code>Count |  Value
2 | Apple
5 | Ball
6 | Cat
10 | Dog
</code></pre>

<p>I want to construct a histogram such that, I have the values in x-axis and count in y axis. Dont know how to do</p>