plotly / plotly/plotly.R

geom_GeomDumbbell() has yet to be implemented in plotly

Open
#2,414 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at plotly::ggplotly and trace how the provided ggalt::geom_dumbbell example is handled. Compare the interactive output with the original static plot, and consider the work complete when the dumbbell geometry and its confidence intervals render interactively with the shown aesthetics.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.