title: Why is my trendline not appearing in my plot?
body: <p>I am trying to add a trendline into my scatterplot in R with ggplot2.</p>
  <pre><code> &gt; ggplot(df_scatter, aes(x=new_cases, y=people_fully_vaccinated,color=Country)) + geom_point()+ geom_smooth(method=&quot;lm&quot;)
  </code></pre>
  <p>I am able to get the scatterplot with different points color relative to the country, but my trendline is no where to be seen on the graph.</p>
  <pre><code> dput(df_scatter) &gt;
   structure(list(Country = c(&quot;Austria&quot;, &quot;Belgium&quot;, &quot;Bulgaria&quot;, 
   &quot;Canada&quot;, &quot;Croatia&quot;, &quot;Cyprus&quot;, &quot;Czechia&quot;, &quot;Denmark&quot;, &quot;Estonia&quot;, 
   &quot;Finland&quot;, &quot;France&quot;, &quot;Hungary&quot;, &quot;Iceland&quot;, &quot;Ireland&quot;, &quot;Israel&quot;, 
   &quot;Italy&quot;, &quot;Latvia&quot;, &quot;Lithuania&quot;, &quot;Luxembourg&quot;, &quot;Netherlands&quot;, 
   &quot;Norway&quot;, &quot;Poland&quot;, &quot;Portugal&quot;, &quot;Slovakia&quot;, &quot;Slovenia&quot;, &quot;Spain&quot;, 
   &quot;Sweden&quot;, &quot;Switzerland&quot;, &quot;United Kingdom&quot;, &quot;United States&quot;), 
   new_cases = c(1051.966, 1041.493, 468.778, 58.396, 1206.863, 
    487.72, 2123.911, 746.22, 618.78, 196.094, 451.496, 676.551, 
   588.304, 734.712, -123.668, 166.381, 692.579, 696.318, 250.467, 
   1341.75, 278.102, 527.423, 251.772, 2028.668, 1632.733, 144.977, 
   376.47, 729.161, 630.726, 278.176), hosp_patients_per_million = 
  c(212.207, 
  213.113, 1185.792, 43.922, 452.757, 94.866, 370.272, 59.519, 
  395.416, 46.14, 105.248, 534.245, 72.81, 116.799, 21.502, 
  68, 582.774, 631.631, 89.79, 86.531, 34.763, 359.103, 45.732, 
  43.584, 476.254, 41.63, 26.968, 116, 118.58, 139.567), 
  people_fully_vaccinated = c(64.74, 
  74.49, 24.86, 75.92, 46.7, 64.78, 58.56, 76.43, 59.06, 72.04, 
  69.16, 60.29, 81.68, 75.92, 62.08, 72.7, 61.89, 65.68, 65.91, 
  73.74, 69.54, 53.7, 87.78, 42.82, 54.86, 80.34, 68.95, 65.07, 
  67.72, 57.83)), row.names = c(&quot;Austria&quot;, &quot;Belgium&quot;, &quot;Bulgaria&quot;, 
  &quot;Canada&quot;, &quot;Croatia&quot;, &quot;Cyprus&quot;, &quot;Czechia&quot;, &quot;Denmark&quot;, &quot;Estonia&quot;, 
  &quot;Finland&quot;, &quot;France&quot;, &quot;Hungary&quot;, &quot;Iceland&quot;, &quot;Ireland&quot;, &quot;Israel&quot;, 
  &quot;Italy&quot;, &quot;Latvia&quot;, &quot;Lithuania&quot;, &quot;Luxembourg&quot;, &quot;Netherlands&quot;, 
  &quot;Norway&quot;, &quot;Poland&quot;, &quot;Portugal&quot;, &quot;Slovakia&quot;, &quot;Slovenia&quot;, &quot;Spain&quot;, 
  &quot;Sweden&quot;, &quot;Switzerland&quot;, &quot;United Kingdom&quot;, &quot;United States&quot;), class = 
  c(&quot;tbl_df&quot;, 
  &quot;tbl&quot;, &quot;data.frame&quot;))
  </code></pre>