In my example sankey diagram, the flow.fill and flow.color are set by the previous node (e.g., all "yellow" flows at time_0 have yellow fill). I would ...
In my example sankey diagram, the flow.fill and flow.color are set by the previous node (e.g., all "yellow" flows at time_0 have yellow fill). I would ...
I'm trying to add a combination of a gt table and a number of ggplot images to an email for sending to my team. It's my understanding that to include ...
Please have a look at the reprex at the end of the post. It is a faceted barchart where the bars are placed in decreasing order in each subplot. My on ...
Using this sample data frame: which looks like this: and I use that dataframe with this: I create this barplot: However, my complete datas ...
I am trying to apply R/ggplot2: Collapse or remove segment of y-axis from scatter-plot to remove values from 25 to 75 from my plot's y axis. However i ...
Is there an easy way to add to a geom_point() plot the mean plus the sd like this here: Going further it would be cool to also take into account le ...
I am trying to recreate the graph that is provided by the function centralityPlot in qgraph. I got a dataframe that looks like this: it should look ...
I am trying to plot candlesticks in R overlaid with moving averages, from my downloaded data for 30' SPY. I eventually want to plot one candlestick ch ...
I'm trying to manually set the colors of a geom_rect portion of a kind of modified "sunburst" plot to something specific for each rectangle. Thus far ...
I am trying to do a basic boxplot, and I can't get NA values away from it. I have tried many tricks for this issue. For example this one. And this ...
I have a plot similar to the following which has both linetype and shape mappings to the same variable. I would like to keep the joined legend but wou ...
Let's have a following dataframe: I would like to plot the variables as scatterplot, add rug on the y-axis and marginal distributions on both axes. ...
I'm trying to make a ggplot (in Shiny): I have concentration-time data that I want to visualize. There's an option for the user to colour different gr ...
I have the following App: The objective is to: Add new points to the plot when the user clicks on it. These are update ...
I need to put labels on top/bottom of the bars as my numbers are both positive and negative (=both sides of x axe). I have been trying to use vjust/h ...
I have a problem with scale of legend, because text of legend crosses borders of plot. Any idea, how can I fix it? Split or resize? Data cleaning: F ...
I have a mocked up data set here that I would like to introduce larger gaps into on the x-axis at particular intervals. I would like these gaps to be ...
This is not my data (for confidentiality reasons), but I have tried to create a reproducible example using a dataset included in the ggplot2 library. ...
I have code and data like that to map some locations in the USA: I have the output like this: I am looking to exclude some levels like (0,0002,000 ...
I am making faceted plots in ggplot2. The groups I am faceting by have names that should logically include units, and I'd like to automatically add th ...