Challenge: Campaign Comparison Visualizer
Clear visual comparisons are essential when presenting campaign results to clients. Being able to quickly and effectively illustrate the differences between two campaigns helps clients understand which strategies are performing better and where improvements can be made. Side-by-side bar charts are especially useful for this purpose, allowing you to highlight key metrics such as impressions, clicks, and conversions in an easy-to-interpret format. This approach ensures that your insights are both memorable and actionable during client meetings.
Swipe to start coding
Create a script that generates a side-by-side bar chart comparing two campaigns' impressions, clicks, and conversions. Use the provided hardcoded data for both campaigns. The chart should display the metrics for both campaigns side by side with clear labels and a title suitable for client presentation.
- Plot a side-by-side bar chart for the metrics
Impressions,Clicks, andConversionsfor both campaigns. - Use the lists
campaign_aandcampaign_bfor the metric values. - Label the x-axis with the metric names and the y-axis with "Count".
- Add a legend to distinguish between the two campaigns.
- Add a title to the chart.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 4.76
Challenge: Campaign Comparison Visualizer
Swipe to show menu
Clear visual comparisons are essential when presenting campaign results to clients. Being able to quickly and effectively illustrate the differences between two campaigns helps clients understand which strategies are performing better and where improvements can be made. Side-by-side bar charts are especially useful for this purpose, allowing you to highlight key metrics such as impressions, clicks, and conversions in an easy-to-interpret format. This approach ensures that your insights are both memorable and actionable during client meetings.
Swipe to start coding
Create a script that generates a side-by-side bar chart comparing two campaigns' impressions, clicks, and conversions. Use the provided hardcoded data for both campaigns. The chart should display the metrics for both campaigns side by side with clear labels and a title suitable for client presentation.
- Plot a side-by-side bar chart for the metrics
Impressions,Clicks, andConversionsfor both campaigns. - Use the lists
campaign_aandcampaign_bfor the metric values. - Label the x-axis with the metric names and the y-axis with "Count".
- Add a legend to distinguish between the two campaigns.
- Add a title to the chart.
Solution
Thanks for your feedback!
single