Untitled

 avatar
unknown
plain_text
10 months ago
620 B
17
Indexable
import matplotlib.pyplot as plt

labels = ["No GMOs", "No Artificial Ingredients", "No Pesticides"]
consumer_belief = [62, 86, 59]  # % of consumers who believe this about "all-natural"
reality = [0, 0, 0]  # % guaranteed by FDA regulation

x = range(len(labels))
plt.figure(figsize=(8,5))
plt.bar(x, consumer_belief, width=0.4, label="Consumer Belief", alpha=0.7)
plt.bar([i+0.4 for i in x], reality, width=0.4, label="Regulatory Reality", alpha=0.7)
plt.xticks([i+0.2 for i in x], labels)
plt.ylabel("Percentage (%)")
plt.title("Consumer Beliefs vs. Regulatory Reality of 'All-Natural' Label")
plt.legend()
plt.show()
Editor is loading...
Leave a Comment