Streamgraph





A streamgraph is a type of stacked area chart. It represents the evolution of a numeric variable for several groups. Areas are usually displayed around a central axis, and edges are rounded to give a flowing shape.

Step by step: the streamgraph package.

It is relatively straightforward to build a streamgraph in R thanks to the streamgraph package.







Interactivity

The streamgraph package is a html widget. It means that your output will automatically be interactive. Hover a group to highlight it, get its name and its exact value. If for some reason you need to export it to png or pdf, it is possible thanks to the webshot package.

How to export to .png Chart code

Related chart types


Line plot
Area
Stacked area
Streamchart
Time Series