A simple legend created from d3 scales