score:1

Accepted answer

All you need is,

var color = ["#aeb3b7", "#aeb3b7", "#aeb3b7", "#aeb3b7",
                    "#aeb3b7", "#3a6587", "#3a6587"];

and then,

.attr("fill", function(d, i) {
                return color[i];
            })

Related Query

More Query from same tag