I think linear regression could handle this but I am asking myself if that method has good statistical power.
Let's think of circles with different radii and let there be points inside those circles.
radius points
Circle A 20 8
Circle 1 10 7
Circle 2 25 12
Circle 3 8 10
How can I test the null hypothesis that the number of points in circle A is the same as in the circles 1,2 and 3 given that the area has an linear influence?
My idea
Here is a very basic idea: What do we expect for each Circle given the simplification that the area of the circle is given and not the radius?
In total we have an area of $63$ with $37$ points. Thus $0.59$ points per area. So we would expect $11.75$ points for circle A.
As I am interested in the aspect that A differs from the other circles which can be seen as an homogene area i will sum them up to an area of $43$ with $25.25$ expected points.
This leads to the Chi-Square-Test Statistic: $$ \chi^2 = \frac{(20-11.74603)^2}{11.74603} + \frac{(43-25.25397)^2}{25.25397} \sim \chi_1 $$ After calculation we obtain the p-value: $0.186$ for this example
Improvement
As we have a sample of of point numbers $x=(7,12,10)$ we can calculate the variance $Var(x) = 6.3$
That's why the formula will change to: $$ \chi^2 = \frac{(20-11.74603)^2}{11.74603} + \frac{(43-25.25397)^2}{3 \cdot 6.333} \sim \chi_1 $$ And the p-value will be: $0.0164$
Is this "safe" ?