sequence explorer - no web server
This example uses the D3.js v4 library to create an interactive sequence explorer diagram directly from inline CSV data, requiring no web server. The visualization maps multi-step flows across categories (weather, health, sports, travel) and stages (1st through 4th), with ribbons sized by frequency values. The data is embedded in a `<pre>` tag, and the custom `sequence-explorer.v20.min.js` library renders the Sankey-style sequence chart, while the accompanying CSS handles layout and styling. The example demonstrates how to load and visualize hierarchical sequence data with D3 v4 entirely from a local HTML file, making it ideal for offline or standalone use.
AI-generated descriptionSequence explorer
This is the main example without using a web server. Data is embedded in the html file:
<pre id="data"></pre>contains the data<pre id="dataNodes"></pre>(optionally) contains the additional quantities of the nodes<pre id="paths"></pre>(optionally) contains the paths with the flowing particles
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
- go to the sankey "United States" - "18-30" to select my path to see the particles flowing. Unselect the path to proceed with the interaction.