Question: Use Bokeh PYTHON programming to develop a visualization that has three polygons: polygon 1, polygon 2, and polygon 3. The coordinates of the polygons are

Use Bokeh PYTHON programming to develop a visualization that has three polygons: polygon 1, polygon 2, and polygon 3.

The coordinates of the polygons are as follows: Polygon 1: (1, 3), (1,4), (2.5,3), and (2.5,4). Its color should be orange. This polygon has two holes that are represented by the following coordinates: Hole 1: (1.2,3.2), (1.2,3.6), (1.6,3.2), and (1.6,3.6) Hole 2:(1.6,3.8), (1.8,3.8), (1.8,3.4)

Polygon 2: (1,1), (1,2), (2,1), and (2,2). Its color should be green. This polygon has one hole that is represented the by the following coordinates :Hole 1: (1.3,1.3), (1.3,1.6), and (1.7,1.6)

Polygon 3: (3,1), (3,3), (5,1), and (5,3). Its color should be orangeHole1: (3.5,1.5), (3.5,2.5), (4.6,2.5), (4.2,1.5)The figure has to be 700x700 pixels.

Please show your complete Python code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!