text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

df = pd.read_csv('../input/spaceship-titanic/train.csv')

sns.catplot(x='HomePlanet', kind='count', hue='Transported', data=df)
plt.show()