Section 1. Chapter 6
single
Challenge: Bar Charts
Swipe to show menu
Task
Swipe to start coding
Create a function to build a bar chart from categorical frequency data and customize its appearance using color and orientation options.
- Use the
categoriesparameter to set the names of the bars. - Use the
countsparameter to set the heights or lengths of the bars. - Use the
colorsparameter to set the color of each bar. - Use the
horizontalparameter to control whether the bars are vertical or horizontal.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat