How to plot the x and y axis with ticks and coordinate scale in a postscript

I tried to generate the postscript but I have no idea of how to plot the x and y axis with ticks and marks. I can plot the ticks by adding some definiton of /xTick and /yTick inside the postscript like below:

/Xtick{
%% puts ticks along the x-axis from the origin 
%% with displacement xTick until pX to the right and mX to the left
xTick xTick pX
{
0 moveto
0   tickSize rmoveto
0   tickSize -2 mul rlineto 
}for
/nT{xTick -1 mul}def
nT nT mX
{
0 moveto
0   tickSize rmoveto
0   tickSize -2 mul rlineto 
}for
stroke} def

However, I still cannot display the tick marks or coordinate scale.

Hi @Amber1995,

I think instead of trying to do this in PS we could try R and ggplot2, which has options to plot bubble plot with different radii: https://www.r-graph-gallery.com/320-the-basis-of-bubble-plot.html

Thank you! I will try now.