import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
sns.set(style="white", context="talk")
d1 =['Age','q1','q2'] #have taken count as q2
data= [
['10+','No',16],
['10+','No Answer',1],
['10+','Yes',8],
['5-7','No',20],
['5-7','No Answer',1],
['5-7','Yes',22],
['7-9','No',18],
['7-9','No Answer',1],
['7-9','Yes',16],
['Under5','No',11,]
]
df =pd.DataFrame(data,columns=d1)
sns.catplot(x="Age", y="q2", hue="q1", data=df,
height=6, kind="bar", palette="muted")
plt.show()