You can use a colorramp and a gradient texture to mix two scatter nodes with different density. The black and white colorramp values act as a mask, and can be used to change the apparent transparency (scatter density) You could replace the lower scatter node with a transparent node, or a combination.