Prompt:

"Generate a Python visualization to count the frequency of categories in a column."

Output:

sns.countplot(x='species', data=sns.load_dataset('iris')) plt.title('Category Counts') plt.show()

Output Explanation: A bar chart showing the frequency of each category in the species column.