Overlay "normal distribution" on a histogram

Viewed 42

I have a histogram and I was hoping someone had some code so I could overlay a "normal" distribution so it is clear how my data deviates from that. This is the code that I have rn:

  ggplot(examopg2, aes(x= ideology))+ 
  geom_bar()+ 
  labs(title = "Ideologi", x='Ideologi')+
  theme_classic()

The picture attached is roughly what I am looking for, thank y'all:)

enter image description here

0 Answers
Related