Alpha blending isnot working in the raw data rendering in three.js

My objective is to perform a volumetric rendering of raw data. I didn’t find any example and work on threejs so I went with this.

I have posted my question on StackOverflow where I have posted with images to demonstrate what I have achieved and what I am not able to achieve.

I tried my best for many days but I am not able to do this and I think there is something I am missing. My last hope is this community. Hope I can move ahead from here.

In this repo, I have posted the player file. In this there is a function which is cancelled when a request to get data from server responds with success response, it calls crossdatacheck(data, dtype, dims) with data as raw data, the data type of that data i.e uint16 and dims as dimension of that data.