title: Avoid overlapping x-axis labels with ggplot?
body: <p>I am new to R, I tried searching for the answer in this community but could not find it. I created a plot for some data and my code is this:</p>
  
  <pre><code>q2&lt;-ggplot(main_data, aes(x= Advertising, y= BrandRevenue)) + 
      geom_point(aes(size = BrandValue, color= Brand, label = Brand))
  
  q2
  
  q2 + scale_x_continuous(name = "Company Advertising in Billions of $", 
                          breaks =seq(0, 4.8, 0.1)) + 
      scale_y_continuous(name = "Brand Revenue in Billions of $", 
                         breaks= seq(4, 10, 2)) 
  </code></pre>
  
  <p>And this is the visualization which i get:</p>
  
  <p><a href="https://i.stack.imgur.com/dVadM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dVadM.jpg" alt="enter image description here"></a></p>
  
  <p>As you can all see the values on x-axis are all cramped up and overlapping each other. The values I am using for company advertising on x-axis is from o to 4.8 with an interval of 0.1 between consecutive numbers, i.e. 0, 0.1, 0.2, 0.3, and continues till 4.8. So is there any way in ggplot that these values on x-axis look evenly spaced i.e. I want my values on x-axis to somewhat look like this: </p>
  
  <p><a href="https://i.stack.imgur.com/wiFnA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wiFnA.jpg" alt="enter image description here"></a></p>
  
  <p>Thanks for all your help.</p>