Search for question
Question

1. Create a bar chart in Bokeh to visualize the Australian bushfires' affected

areas over the various Australian states. Here's the data (The numbers are

made-up)

Province

Victoria

Queensland

Tasmania

New South Wales

Western Australia

Southern Australia

Student

Percentage

2.

3. Create a visualization for the number of years taken by U.S. students to

graduate college in 2020. The dataset looks like this:

35%

19%

20%

10%

9%

Years

Affected Acres

463,000

617,000

302,000

00

4 years

5 years

6 years

7 years

8 years

99,000

140,000/nYear

2014

2014

2015

7%

2015

4.

5. Create a visualization for the percentage of U.S. students that graduated

college in 4 years over the time period of 2014, 205, ... 2017. The dataset

looks like this:

Year

2014

2015

2016

2017

9 years

Subject

Percentage of 4-

year graduates

25%

27%

30%

26%

6. Create a visualization for the performance gap between male and female high

school students in different subjects, and over different years. The dataset

looks like this:

Math

English

Math

English

For this task, draw a dot plot with

Score on the x-axis

Subject-Sex on the y-axis follows:

English-Male

Male Avg Score

82

79

80

81

Female Avg

Score

83

77

84

78/nFor this task, draw a dot plot with

Score on the x-axis

Subject-Sex on the y-axis follows:

o English-Male

English-Female

o Math-Male

o Math-Female

For each Subject-Sex, use two dots to show the scores for the two years:

o

Use a red dot for 2014.

o

Use a blue for 2015.

o

The two dots should be connected by a straight line.

To draw this in Bokeh, you will need to use the circle() and line() glyphs.

For the last problem, I have created a script for you to use as a starting point. You will

need to complete the missing parts. Read the whole script first, understand it, then fill

in the missing parts as indicated in the comments:

scatter plot 2.pyDownload scatter plot 2.py/nThe final plot should look something like this:

English and Math Scores

English-Male-

English-Female

Math-Male-

Math-Female -

1

77

1

78

1

79

1

80

1

81

1

82

83

..

2014

2015

1

84

Lab Submission

Submit your code along with screenshots of the generated visualizations in a single doc

file.

Fig: 1

Fig: 2

Fig: 3

Fig: 4