Modified legend in d3 map