Lollipop plots can be very appropriate when it comes to compare 2 values for several entities. For each entity, one point is drawn for each variable, with a different color. Their difference is then highlighted using a segment. This type of visualisation is also called Cleveland dot plots. 

As usual, it is advised to order your individuals by mean, median, of difference to give even more insight to the plot. Here are 2 version, the first one use the default appearance of ggplot2, the second is a bit decluttered using some layout customisation (see the ggplot2 section for more info).

 

 

 

 

Related


 

Make a search


 

 


2
Leave a Reply

avatar
2 Comment threads
0 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
AleksLiwei Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Aleks
Guest
Aleks

while data in the data frame is sorted by mean values, the plots are not sorted. I’m not sure why

Liwei
Guest
Liwei

Is there anyway to add legend for the green and red dots?