Extends Dynamic Classification of CartoDB Choropleth Map to include a legend. Makes use of a custom legend example and the cdb.geo.ui.Legend.Custom()
method. Default CartoDB.css round bullets are overwritten to produce rectangles.
https://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js
https://cdnjs.cloudflare.com/ajax/libs/simple-statistics/1.0.1/simple_statistics.min.js