title: How to barplot large amounts of data in R
body: <p>I have a dataframe that I need to barplot. The problem is that it's too large for the plot to be displayed correctly and I'm unable to analyse any of the bars. The graph is not zoomable either.</p>
  
  <p>The code I'm using is the following one: </p>
  
  <pre><code>ggplot(grafE,aes(x=Estados,y=Freq)) + 
  geom_bar(stat="identity",fill="Red") +
  coord_flip() +
  ylab("Numero de casos") + xlab("Estados") + 
  geom_text(aes(x = Estados,   y = Freq+30, label = Freq))
  </code></pre>
  
  <p>For reasonably small amounts of data the plot looks perfect. Just like this:</p>
  
  <p><img src="https://i.imgur.com/GlJ58w0.png" alt=""></p>
  
  <p>But then it's a mess for bigger data amounts.</p>
  
  <p><img src="https://i.imgur.com/nI3qCoO.png" alt=""></p>
  
  <p>How can I make a nice looking barplot or at least a legible one for large amounts of data?</p>
  
  <p>Thanks.</p>