<jupyter_start><jupyter_text>Customize<jupyter_code># Just add the colors parameter and pass the value.
Chord(matrix, names, colors="d3.schemeDark2").to_html()
# Just add the colors parameter and pass the value.
Chord(matrix, names, colors="d3.schemeAccent").to_html()
# Add all the colors to a list.
coloursList = ["#f50057", "#2196f3", "#00e676", "#ff5722", "#00000", "#ff9100"]
# Pass the list to the colors parameter.
Chord(matrix, names, colors=coloursList).to_html()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14741035856573706, 'fraction_numerical': 0.061752988047808766, 'mean_word_length': 7.112903225806452, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '196221', 'license': 'MIT', 'n_tokens_mistral': 192, 'n_tokens_neox': 175, 'n_words': 49, 'path': 'Chord Diagram/Chord Diagram.ipynb', 'repo_name': 'KunaalNaik/YT_Python_Viz', 'size': '502'}