Geom_flow Implementation
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have create an alluvial using the following code:
plot_1 <- ggplot(table_2,
aes(x = Year, stratum = HC50, alluvium = HC50,
y = Normal,
fill = HC50, label = sprintf("%0.1f", round(Freq, digits = 1)))) +
scale_fill_manual(values = mycols1) +
scale_x_continuous(breaks = seq(2014, 2023, by = 1)) +
geom_flow() +
geom_stratum(alpha = .5) +
geom_text(stat = 'stratum', size = 3.5)
plot_1
But get the following warning:
In geom2trace.default(dots[[1L]][[24L]], dots[[2L]][[1L]], ... :
geom_GeomFlow() has yet to be implemented in plotly.
Will ggplotly be implementing geom_flow?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning with the supplied R example and inspect the ggplotly conversion path for geom_GeomFlow. Done means geom_flow is converted by ggplotly without the unimplemented warning and the resulting visualization preserves the flow plot.
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
- Mostly clear
- Newbie friendliness
- 25/100