precinctValue = d => {
const denominator = mapColor === "party"
? Number(d.properties.PRES16D) + Number(d.properties.PRES16R)
: Number(d.properties.VAP);
const numerator = mapColor === "party"
? Number(d.properties.PRES16D)
: Number(d.properties.BVAP);
return denominator ? numerator / denominator : 0;
}