         sg = lg.append('g')
             .attr('transform', l_tr)
 
-        sg.append('text')
-            .text(geomap.properties.format(max_val))
-            .attr('x', rect_w + offset_t)
-            .attr('y', offset_t)
-
-        sg.append('text')
-            .text(geomap.properties.format(min_val))
-            .attr('x', rect_w + offset_t)
-            .attr('y', legend_h + offset_t)
-
         # draw color scale
         sg.selectAll('rect')
             .data(colorlist)

            data_by_iso[d.iso3] = val

        # Set the coloring function.
        colorize = d3.scale.quantize()
            .domain([min, max])
            .range(geomap.properties.colors)


            if data_by_iso[iso3] then geomap.properties.format(data_by_iso[iso3]) else 'No data'

        color_val = (iso3)->
            if data_by_iso[iso3] then geomap.colorize(data_by_iso[iso3]) else '#eeeeee'

        geomap.private.units.enter().append('path')
            .attr('class', 'unit')
