[box type="note" align="" class="" width=""]The article given below is a book extract from Java Data Analysis written by John R.…