In a polygon layer I have a simple geometry generator to get the centroid centroid($geometry)
. Using this I would like to apply a Heatmap symbology or Graduated by Size symbology but this is only possible using a native point source.
There is no option to use Method --> Graduated by size (unless we convert to points). For example, if the data is points we can do the following
Is there a way to do this without creating a new dataset or virtual layer? Maybe a data overide on the size column. I am not sure what the calculation would be. I guess it would be to calculate the total and then apply a formula to generate the classification.
scale_linear("phosphorus",minimum( "phosphorus"),maximum("phosphorus"),1,8)
for marker size. Check the documentation : docs.qgis.org/latest/en/docs/user_manual/expressions/…