sequence explorer - highlight a vertical path
This example demonstrates how to highlight a vertical path within a sequence explorer visualization, using the D3.js v4 library and the sequence-explorer plugin. It shows a Sankey-style diagram where colored flows and nodes trace a specific sequence—home, account, search, product—through the chart, with the highlighted path emphasized in orange. The data, loaded from a CSV file, contains visit sequences mapped to the required format. The highlight is achieved through CSS styling that targets specific path and rect classes, making the selected vertical route stand out clearly against the rest of the visualization.
AI-generated descriptionSequence explorer
This example shows how display a vertical path and how to highlight this path with css styling.
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.
The data is obtained (and mapped to the required format) from the sunburst visualization example from Kerry Rodden.
It is easy to see the pros and cons of these two visualizations for this specific data set.