Variables in GeoJSON Style rules

So you would like to while displaying all of them color differently based on a variable change?

Check this thread out.

Since you want it to be dynamic reading things from a local file is going to be difficult if not impossible to do styling changes.

if you serve the geojson data from an api service maybe you can use CSS styles to modify your points, line, polygons with thickness & color? Not sure if it will be picked up by grafana geomap plugin though

{ 
    "type": "Feature",
    "geometry": {
    "type": "Polygon",
    "coordinates": [[
        [-180.0, 10.0], [20.0, 90.0], [180.0, -5.0], [-30.0, -90.0]
        ]]
    },
    "style": {
        "__comment": "all SVG styles allowed",
        "fill":"red",
        "stroke-width":"3",
        "fill-opacity":0.6
    },
    "className": {
        "baseVal":"A class name"
    }
}

Also looks like someone already posted this issue