Questions tagged [ggiraphextra]
6 questions
2
votes
2 answers
R Pie Donut chart with facet functionality
The following code works fine and produces the required graph as given below:
library(tidyverse)
library(ggiraphExtra)
library(moonBook)
ggPieDonut(data = acs, mapping = aes(pies = Dx, donuts = smoking), interactive = TRUE)
Wondering how to…

MYaseen208
- 22,666
- 37
- 165
- 309
2
votes
2 answers
Increase space for long axis labels in radar chart
I want to create a radar chart with ggirahExtra::ggRadar. The problem is that I have long labels and they are clipped. I thought I could create more space between label and plot by adding margin = margin(0,0,2,0, "cm") to element_text in axis.text,…

TimTeaFan
- 17,549
- 4
- 18
- 39
1
vote
1 answer
ggradar returns Error: 'plot.data' contains value(s) > grid.max
Given a sample data as follows:
df <- structure(list(date = c("2022-1-31", "2022-2-28"), PMI = c(50.1,
50.2), PMI.import = c(48.4, 49), PMI.export = c(47.2, 48.6)), class = "data.frame", row.names = c(NA,
-2L))
Out:
date PMI PMI.import…

ah bon
- 9,293
- 12
- 65
- 148
1
vote
0 answers
ggRadar with interactive=TRUE cannot change color
I want to make an interactive graph on R with the ggRadar function in ggiraphExtra. I want to define different colors for each group.
However, as soon as I use the option Interactive=true I can't change the colors :(
Can anyone help me?
mycolors <-…

chapau
- 11
- 1
0
votes
1 answer
Adding an image in tooltip of ggRadar
Goal
I want to display images based on a column containing local/external url of images in a radar chart.
Reproducible Example
This is possible for a bar chart with ggiraph as shown below:
require(ggplot2)
require(ggiraph)
require(ggiraphExtra)
#…

umair durrani
- 5,597
- 8
- 45
- 85
0
votes
0 answers
ggplot2 panel.grid.major customization for ggRadar (ggiraphExtra package)
I am using ggRadar function (from ggiraphExtra package) to create a radar plot. It works well, but for some reason, I get an additional major grid line (or more precisely round).
My code is as follows:
ggRadar(data,aes(facet=speaker),rescale =…

Mysliik
- 41
- 4