This example illustrates how to add nodes without paths.
forked from EE2dev's block: Sequence explorer - visitor flow
Changes to the forked version above:
to have a nice scaling of your nodes/paths, you can use sequenceExplorer.chart().nodePadding() instead of creating a dummy path from the event " " to the event " ".
the sequence elements are and should be strings not numbers.
colored one specific node with CSS
to refer to a meaningful denominator for the percentages, specify sequenceExplorer.chart().correspondingEvents([]) the related events. (in this case exclude the dummy events)
to add people icons flowing through certain paths, simply add the corresponding paths to the data with a name and call sequenceExplorer.chart().particleShape("person")
percentages are set to "%sameEvent". Change the percentage to the metric most useful for your application.
Link to sequence explorer on github.
https://d3js.org/d3.v4.min.js
https://ee2dev.github.io/libs/sequence-explorer.v20.js