import pandas as pd df = pd.read_csv('mt_statewide_2023_01_26.csv')
import matplotlib.pyplot as plt plt.xticks(rotation=90) plt.hist(df['county_name'].astype(str).split(' ')[0], bins=25)