Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Plotly does not work with geom_chicklet

Open
#2,431 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
r

Research direction

The report provides no repository file or test; start by reproducing the supplied R example with ggplotly(p, tooltip = "text") and compare it with a standard geom_col chart. Trace how ggplotly handles geom_chicklet and verify that the interactive chart renders with the requested text tooltip; the issue does not specify a preferred test location.

Written by the indexing model from the issue text.

Description

I make a lot of bar charts and prefer geom_chicklet over goem_col for presentations

library(ggplot2)
library(plotly)
library(scales)

p <- ggplot(aes(y = perc,
x = response,
fill = fill_color,
text = paste("Response:", response, "
Percent:", percent(perc)))) + # Tooltip content
geom_chicklet() +
coord_flip() +
scale_fill_identity() +
scale_y_continuous(labels = percent_format()) +
labs(title = "Barriers indicated by the survey: these are the reasons people say they don't vote",
y = paste("Percent of the", nrow(combined_surveys_english), "survey respondents"),
caption = "",
x = "") +
theme_colibri() +
theme(axis.text.y = element_text(color = "black", size = 10),
strip.text.y = element_text(angle = 0),
plot.title = element_text(size = 16),
legend.position = "none")

Convert to interactive plot

ggplotly(p, tooltip = "text")

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

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.

More from plotly/plotly.R

All issues in plotly/plotly.R

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.