Question: Practical work Data visualization Task 1 1. Create 2 arrays of points ( x and y coordinates). Define 15 points in each array. 2. Using

 Practical work "Data visualization" Task 1 1. Create 2 arrays of

Practical work "Data visualization" Task 1 1. Create 2 arrays of points ( x and y coordinates). Define 15 points in each array. 2. Using the Matplotlib library, construct a Plot-type graph. 3. Change the external appearance of the graphic (line color, style, thickness, marker type, color, size). Task 2 1. Data on the average age of patients in a doctorate are given: 1ife_exp =[43.828,76.423,72.301,42.731,75.32,81.235,79.829,75.6 35,64.062,79.441,56.728,65.554,74.852,50.728,72.39,73.005,52.2 95,49.58,59.723,50.43,80.653,44.74100000000001,50.651,78.553,72 .961,72.889,65.152,46.462,55.322,78.782,48.328,75.748,78.273,7 6.486,78.332,54.791,72.235,74.994,71.33800000000002,71.878,51.57 899999999999,58.04,52.947,79.313,80.657,56.735,59.448,79.406,60 .022,79.483,70.259,56.007,46.38800000000001,60.916,70.19800000000 001,82.208,73.33800000000002,81.757,64.69800000000001,70.65,70.96 4,59.545,78.885,80.745,80.546,72.567,82.603,72.535,54.11,67.29 7,78.623,77.58800000000002,71.993,42.592,45.678,73.952,59.443000 00000001,48.303,74.241,54.467,64.164,72.801,76.195,66.803,74.54 3,71.164,42.082,62.069,52.90600000000001,63.785,79.762,80.204,7 2.899,56.867,46.859,80.196,75.64,65.483,75.53699999999998,71.752 , 71.421,71.688, 75.563,78.098, 78.74600000000002, 76.442, 72.476, 46 .242,65.528,72.777,63.062,74.002,42.56800000000001,79.972,74.663 , 77.926, 48.159, 49.339, 80.941, 72.396,58.556,39.613,80.884,81.70 100000000002,74.143,78.4,52.517,70.616,58.42,69.819,73.923,71.7 77,51.542,79.425,78.242,76.384,73.747,74.249,73.422,62.698,42. 38399999999999,43.487] 2. Display this data graphically with the help of a histogram! 3. Change the number of bars in the histogram (Bins) to 5 ! Display a new histogram. Task 3 Display any other graph type using random number coordinates (numpy)

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!