<jupyter_start><jupyter_text>Data Visualization<jupyter_code>import pandas as pd
import pylab as pyl
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
data = pd.read_csv("https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/data/titanic.csv")
data
sns.distplot(data.Age,kde=False)
plt.show()
data['Pclass'].value_counts().plot.bar()
plt.show()
data['Sex'].value_counts().plot.pie()
plt.show()
plt.scatter(data.Fare,data.Age)
plt.show()
x = data.Fare.tail(50)
y = data.Age.tail(50)
plt.scatter(x,y,alpha=0.2,color="Blue")
y = data.Pclass.tail(50)
x = data.Fare.tail(50)
plt.scatter(x,y,alpha=0.3,color="Red")
plt.show()

sns.lineplot(data=data['Fare'].head(10))<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1825726141078838, 'fraction_numerical': 0.019363762102351315, 'mean_word_length': 6.702127659574468, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '190009', 'license': 'WTFPL', 'n_tokens_mistral': 326, 'n_tokens_neox': 306, 'n_words': 44, 'path': 'LDCE/Data Visualization.ipynb', 'repo_name': 'tanujdey7/Python', 'size': '723'}