javascript multiple array filters based on true / false [duplicate]

sample of the json data

[
    {
        "contactID": 1,
        "isRecurring": true,
        "isActive": true,
        "isEmailSubscriber": true,
        "coords": [123,123]
    },
    {
        "contactID": 2,
        "isRecurring": false,
        "isActive": true,
        "isEmailSubscriber": false,
        "coords": [123,123]
    },
    {
        "contactID": 3,
        "isRecurring": true,
        "isActive": false,
        "isEmailSubscriber": true,
        "coords": [123,123]
    }
]

i’m trying to build a heat map that starts initally loaded with all markers. i have built a card with filters that i woujld like to filter the heatmap at any time and toggle any combination of filters. i can’t seem to make it work for the life of me. any help would be greatly appreciated.

filter card