<commit_before>ColorByName
===========

Return a color based off a name / label. This is useful for displaying a large volume of dynamic data in a graph.<commit_msg>add better readme<commit_after>ColorByName
===========

#Why use this over random or a set list of colors in a graph?#
* Every label in every graph gets the same color every time based on the label
* Comparing data in multiple graphs becomes easy

#usage:#
JS:<script language="javascript" type="text/javascript" src="rollups/sha1.js"></script>
   <script language="javascript" type="text/javascript" src="colorByName.js"></script>
   And then call getColor(string);
PHP: Include the file... call getColor(string);


Screen cap using flot:
![alt tag](http://imgur.com/i6BNVZa)

{'fraction_non_alphanumeric': 0.12668463611859837, 'fraction_numerical': 0.0026954177897574125, 'mean_word_length': 5.191666666666666, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5945956', 'n_tokens_mistral': 211, 'n_tokens_neox': 205, 'n_words': 86}