<commit_before>---
layout: docs_code
title:  Visualize a Matrix (JSFiddle)
permalink: /documentation/tutorial_visualize_matrix_jsfiddle/
nomenu: true
description: Learn how to visualize a matrix from a sample dataset.
---
This example demonstrates to visualize a matrix based on a sample data set. This example provides a selection of multi-form visualizations for tabular data, including heatmap, scatter plot, and histogram.

<iframe width="100%" height="600" src="//jsfiddle.net/ngehlenborg/5j04r9yr/embedded/result,html,css.js?accentColor=000000" allowfullscreen="allowfullscreen" frameborder="0"></iframe><commit_msg>Add slash<commit_after>---
layout: docs_code
title:  Visualize a Matrix (JSFiddle)
permalink: /documentation/tutorial_visualize_matrix_jsfiddle/
nomenu: true
description: Learn how to visualize a matrix from a sample dataset.
---
This example demonstrates to visualize a matrix based on a sample data set. This example provides a selection of multi-form visualizations for tabular data, including heatmap, scatter plot, and histogram.

<iframe width="100%" height="600" src="//jsfiddle.net/ngehlenborg/5j04r9yr/embedded/result,html,css.js/?accentColor=000000" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
{'fraction_non_alphanumeric': 0.0958904109589041, 'fraction_numerical': 0.0273972602739726, 'mean_word_length': 6.349112426035503, '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': '5825999', 'n_tokens_mistral': 397, 'n_tokens_neox': 344, 'n_words': 118}