<commit_before>### How to display chart data into a data table

Consider a dataset containing male and female profile with their height and weight.
Each profile is validated or not.

We would like to display in a chart the average height and weight split by gender.
We would also like to split the gender axis by a second dimension : the account validation status.

Here's an example of the final result.

![](/widgets/display-chart-data-into-table/chart_to_table.png?raw=true)

Data sample :

<pre>
#1
gender : 2 (Male)
height: 187
weight: 74
isvalid: 1

#2
gender : 1 (Female)
height: 168<commit_msg>The image was already in the article<commit_after>### How to display chart data into a data table

Consider a dataset containing male and female profile with their height and weight.
Each profile is validated or not.

We would like to display in a chart the average height and weight split by gender.
We would also like to split the gender axis by a second dimension : the account validation status.

Data sample :

<pre>
#1
gender : 2 (Male)
height: 187
weight: 74
isvalid: 1

#2
gender : 1 (Female)
height: 168
{'fraction_non_alphanumeric': 0.06193895870736086, 'fraction_numerical': 0.02333931777378815, 'mean_word_length': 4.259433962264151, '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}}
{'dir': 'git-commits-cleaned', 'id': '3426870', 'n_tokens_mistral': 339, 'n_tokens_neox': 303, 'n_words': 175}