It's not exactly identical, but there is a high correlation
For instance, NC has 8 projects (went blue for first time in 40 years, was the state that pushed O over the top), SC has 2 (red); PA has 13 projects (blue), WV has 4(red), IA (blue) has 3, NE (red) has 1.
There are some anomalies, like D6 mentioned nothing in CO or NM, they went blue. 3 in AK, 1 in MT, 1 in WY, they were red.
I think it's not so much payback for voting for O as it is Dems pushing for the pork and Reps either not asking for it or not getting the dems to put it in, so that their re-election chances are lower. Either way, it's a very political looking map.