Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
economics:r:ggplot2 [2019/04/24 20:11]
Olivier Simard-Casanova
economics:r:ggplot2 [2019/07/13 03:42]
Olivier Simard-Casanova removed
Line 12: Line 12:
 ## Alluvial diagrams ## Alluvial diagrams
  
-Requires the `ggalluvial` package, on top of `ggplot2`.+Requires the `ggalluvial` ​[package](https://​cran.r-project.org/​web/​packages/​ggalluvial/​vignettes/​ggalluvial.html), on top of `ggplot2` ​(*via* [Mathieu Perona](https://​twitter.com/​MathieuPerona/​status/​1120994707746766848)).
  
-Graphs ​like this:+[Alluvial diagrams](https://​en.wikipedia.org/​wiki/​Alluvial_diagram) are like this (my own production):
  
-{{ :​economics:​r:​alluvial.png?​direct&​400 ​|}}+{{ :​economics:​r:​alluvial.png?​direct |}} 
 + 
 +You can also use `networkD3` with the function `sankeyNetwork` (*via* [Antoine Belgodere](https://​twitter.com/​ABelgo_optimum/​status/​1120996218086273024)):​ more [here](https://​christophergandrud.github.io/​networkD3/​). An interactive example can be found [here](https://​www.r-graph-gallery.com/​sankey-diagram/​) (*via* [Pauline R.](https://​twitter.com/​NutriPrudens/​status/​1120999342419140608)).
  
 ## Bar plots ## Bar plots