<jupyter_start><jupyter_text>Bar Chart<jupyter_code>import matplotlib.pyplot as plt
import numpy as np
title = "Line Chart"
x_label = "X Axis"
y_label = "Y Axis"

x_data = [1, 2, 3, 4, 5, 6]
y_data = [9, 6, 7, 3, 1, 4]
plt.title(title)
plt.xlabel(x_label)
plt.ylabel(y_label)

plt.bar(x_data, y_data)
bar_width = 0.35

months = ["Jan", "Feb", "Mar", "Apr", "May"]

x_1_pos = pos = np.arange(len(months))
x_2_pos = x_1_pos + bar_width
x_leg_pos = x_1_pos + 0.175

y_1_data = [3, 5, 4, 7, 9]
y_2_data = [6, 3, 4, 9, 8]

legend = [ "Toy Sales", "Clotes Sales" ]
plt.title(title)
plt.xlabel(x_label)
plt.ylabel(y_label)

plt.bar(x_1_pos, y_1_data, bar_width)
plt.bar(x_2_pos, y_2_data, bar_width)
plt.xticks(x_leg_pos, months)
plt.legend(legend)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16601815823605706, 'fraction_numerical': 0.05058365758754864, 'mean_word_length': 5.276422764227642, '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': '238748', 'license': 'MIT', 'n_tokens_mistral': 419, 'n_tokens_neox': 378, 'n_words': 83, 'path': 'data-visualization/charts/bar chart.ipynb', 'repo_name': 'JonhatanHaisi/courses', 'size': '771'}