Changes maps to d3.js