<commit_before># d3-sankeySeq

![Image of css styled sankey chart](https://github.com/EE2dev/d3-sankeySeq/blob/master/img/sankeySeq.png)
[<img alt="Image of css styled sankey chart" src="https://raw.githubusercontent.com/EE2dev/d3-sankeySeq/blob/master/img/sankeySeq.png" width="728">]

SankeySeq.js is an adaptation of the [sankey plugin](https://github.com/d3/d3-sankey) for sequential data. Unlike the standard sankey diagram, where the position of the nodes are determined
by an iterative procedure, sankeySeq is suitable for sequential data for a given sequence (e.g. time sequence) where the node positions are fixed. 

[Here](https://github.com/EE2dev/sequence-explorer) is an example how to use it.

## Installing

If you use NPM, `npm install d3-sankeyseq`. 

## API Reference

function | parameter | explanation<commit_msg>adjusted image<commit_after># d3-sankeySeq

![Image of css styled sankey chart](https://github.com/EE2dev/d3-sankeySeq/blob/master/img/sankeySeq.png)
![Image of css styled sankey chart](img/sankeySeq.png)
[<img alt="Image of css styled sankey chart" src="https://raw.githubusercontent.com/EE2dev/d3-sankeySeq/blob/master/img/sankeySeq.png" width="728">]

SankeySeq.js is an adaptation of the [sankey plugin](https://github.com/d3/d3-sankey) for sequential data. Unlike the standard sankey diagram, where the position of the nodes are determined
by an iterative procedure, sankeySeq is suitable for sequential data for a given sequence (e.g. time sequence) where the node positions are fixed. 

[Here](https://github.com/EE2dev/sequence-explorer) is an example how to use it.

## Installing

If you use NPM, `npm install d3-sankeyseq`. 

## API Reference

function | parameter | explanation
{'fraction_non_alphanumeric': 0.10975609756097561, 'fraction_numerical': 0.013937282229965157, 'mean_word_length': 4.9006849315068495, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1287348', 'n_tokens_mistral': 547, 'n_tokens_neox': 531, 'n_words': 176}