Hi
Is there anyway to create a scatter with a line graph but connecting points on the Y-axis rather than X-axis?
My file Insights only has 3 columns: Criteria (characters), Rating (float) and Segment (char)
My code below produces the chart attached
'''
insight <- read.csv("Insights.csv")
head(insight)
scatter <- ggplot(insight, aes(x = Rating, y = Criteria, color = Segment)) + geom_point(size=2) + labs(title = "Product Features Desired by Customer Segments", x="Importance",y = "Product Features" ) + geom_line(aes(group = Segment))
scatter
'''