Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geom_GeomDumbbell() has yet to be implemented in plotly #2414

Open
fgabriel1891 opened this issue Jan 9, 2025 · 0 comments
Open

geom_GeomDumbbell() has yet to be implemented in plotly #2414

fgabriel1891 opened this issue Jan 9, 2025 · 0 comments

Comments

@fgabriel1891
Copy link

fgabriel1891 commented Jan 9, 2025

Would you mind adding this funcitonality?

Thanks!!


install.packages('ggalt')
library(ggalt)

 data %>%
  ggplot(aes(y = reorder(Department, median_completion, decreasing = TRUE))) +
  geom_dumbbell(aes(x = min_completion, xend = max_completion), 
                color = "gray70", size = 1.5, point.size.l = 3, point.size.r = 3) +
  geom_point(aes(x = median_completion), color = "blue", size = 3) +
  labs(y = "Department", x = "Total Percent Completion of Required Course hours") +
  theme_minimal()

plotly::ggplotly(db_plot) #fails to render the confidence intervals interactively

original static plot
Image

interactive version with plotly
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant