text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
sns.despine(left=True, right=True, bottom=True, top=True)
sns.set_style('white')

df = pd.read_csv('../input/kaggle-survey-2020/kaggle_survey_2020_responses.csv', engine='python', error_bad_lines=False)

colunas = ['Q1', 'Q2', 'Q4', 'Q5', 'Q6', 'Q8', 'Q11', 'Q13', 'Q15', 'Q20', 'Q21', 'Q24', 'Q25', 'Q30', 'Q32', 'Q38']
for i in colunas:
    fig, ax = plt.subplots(1, 1, figsize=(15, 6))
    sns.countplot(y=df[i][1:], data=df.iloc[1:], order=df[i][1:].value_counts().index, palette='Blues_r')
    fig.text(0.1, 0.95, f"{df[i][0].split('(')[0]}", fontsize=16, fontweight='bold', fontfamily='serif')
    plt.xlabel(' ', fontsize=20)
    plt.ylabel('')
    plt.yticks(fontsize=13)
    plt.box(False)