In this assessment task, the following answers have been answered by our experts. However, the remaining 4 answers are still unanswered. If you would like to get the answer to these 3 questions or the remaining questions, speak to our sales team immediately. The price for buying the original answer to these 3 questions is AUD 30 per answer.
Question 1 (4 marks) Write the code to reproduce this:
The exact color used is not important, but try and get close.
Use a total canvas width of 500px, and spread the squares out evenly.
- Hint: there is an alpha change.
- Question 2 (4 marks)
- Using the following data and p5js to draw a pie chart about favorite types of movies.
- Comedy 4
- Action 5
- Romance 6
- Drama 1
- SciFi 4
You should annotate each slice of the pie chart with its label and percentage.