sequence explorer - small multiples
This example uses small multiples to compare state sequences across regions and age groups. Each panel shows a horizontal Sankey-style flow from source to target, with line thickness proportional to the value column. Transitions are encoded with color-coded ribbons linking categorical states (weather, sports, health, travel), and the small-multiple layout lets viewers scan differences in flow volume across the United States, India, Germany, and the United Kingdom, split by age bands. Built with D3 v4, it reads the CSV from a gist.
AI-generated descriptionSequence explorer
This is an example showing the features of sequence explorer. With .percentages([]) (documentation) you can specify different percentages. It affects the tooltip percentages shown. Also the first element in the array determines the percentages shown when you click on a label of the y axis.
More examples
- single chart
- single chart - JSON version
- hightlight a path
- hightlight a vertical path
- small multiples
- main example
- main example - JSON version
- demo without web server
Link to sequence explorer on github.
- example data (simulated) contains user click stream data by age and continent. Node info contains information about clients environment (browser, operating system, device)
- you can zoom in into one chart by clicking on it
- to go back, click again
- tooltip of nodes additionally show 4 percentages