Showing preview only (870K chars total). Download the full file or copy to clipboard to get everything.
Repository: timwis/leaflet-choropleth
Branch: gh-pages
Commit: ab29390684b5
Files: 19
Total size: 846.1 KB
Directory structure:
gitextract_lhsux0s0/
├── .gitignore
├── .travis.yml
├── LICENSE.md
├── README.md
├── bower.json
├── dist/
│ └── choropleth.js
├── examples/
│ ├── basic/
│ │ ├── crimes_by_district.geojson
│ │ ├── demo.js
│ │ └── index.html
│ ├── computed_values/
│ │ ├── demo.js
│ │ └── index.html
│ ├── fetch_join/
│ │ ├── demo.js
│ │ └── index.html
│ └── legend/
│ ├── demo.js
│ └── index.html
├── package.json
├── src/
│ └── choropleth.js
├── test/
│ └── choropleth.test.js
└── webpack.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
node_modules
*.swp
================================================
FILE: .travis.yml
================================================
language: node_js
node_js:
- "4.0"
branches:
only:
- gh-pages
================================================
FILE: LICENSE.md
================================================
The MIT License (MIT)
Copyright (c) 2015 Tim Wisniewski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Leaflet Choropleth [](https://travis-ci.org/timwis/leaflet-choropleth) [](http://standardjs.com/)
[](https://nodei.co/npm/leaflet-choropleth/)
Choropleth plugin for Leaflet (color scale based on value) - [Demo](http://timwis.com/leaflet-choropleth/examples/basic)
[](http://timwis.com/leaflet-choropleth/examples/basic)
This plugin extends `L.geoJson`, giving each feature a `style.fillColor` that corresponds to a specified value
in its `properties` object. For information on how to use `L.geoJson`, see the Leaflet
[tutorial](http://leafletjs.com/examples/geojson.html) and [documentation](http://leafletjs.com/reference.html#geojson).
While Leaflet provides a [choropleth tutorial](http://leafletjs.com/examples/choropleth.html), that approach requires you to
specify exact breakpoints and colors. This plugin uses [chroma.js](http://gka.github.io/chroma.js/) to abstract that for you.
Just tell it which property in the GeoJSON to use and some idea of the color scale you want.
## Usage
```javascript
L.choropleth(geojsonData, {
valueProperty: 'incidents', // which property in the features to use
scale: ['white', 'red'], // chroma.js scale - include as many as you like
steps: 5, // number of breaks or steps in range
mode: 'q', // q for quantile, e for equidistant, k for k-means
style: {
color: '#fff', // border color
weight: 2,
fillOpacity: 0.8
},
onEachFeature: function(feature, layer) {
layer.bindPopup(feature.properties.value)
}
}).addTo(map)
```
### Advanced
* **colors**: If you prefer to specify your own exact colors, use `colors: ['#fff', '#777', ...]` instead of `scale`.
Just make sure the number of colors is the same as the number of `steps` specified.
* **valueProperty**: To use computed values (such as [standardizing](http://axismaps.github.io/thematic-cartography/articles/standardize.html)),
you can use a function for `valueProperty` that is passed `(feature)` and returns a number ([example](examples/computed_values/demo.js)).
## Installation
* via NPM: `npm install leaflet-choropleth`
* via Bower: `bower install leaflet-choropleth`
Include `dist/choropleth.js` from this repository on your page after Leaflet:
```html
<script src="path/to/leaflet.js"></script>
<script src="path/to/choropleth.js"></script>
```
Or, if using via CommonJS (Browserify, Webpack, etc.):
```javascript
var L = require('leaflet')
require('leaflet-choropleth')
```
## Examples
* [Basic usage](examples/basic/demo.js)
* [Legend](examples/legend/demo.js)
* [Fetch & join](examples/fetch_join/demo.js)
* [Computed values](examples/computed_values/demo.js)
## Development
This project uses [webpack](http://webpack.github.io/) to build the JavaScript and
[standard](https://github.com/feross/standard) for code style linting.
* While developing, use `npm run watch` to automatically rebuild when files are saved
* Use `npm test` to run unit tests and code style linter
* Before committing `dist/`, use `npm run build` to optimize and minify for production use
================================================
FILE: bower.json
================================================
{
"name": "leaflet-choropleth",
"version": "1.1.2",
"homepage": "https://github.com/timwis/leaflet-choropleth",
"authors": [
"timwis <tim@timwis.com>"
],
"description": "Choropleth plugin for Leaflet (color scale based on value)",
"main": "dist/choropleth.js",
"keywords": [
"leaflet",
"choropleth",
"chloropleth"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
================================================
FILE: dist/choropleth.js
================================================
!function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){var e=t(111),o=t(51),u=t(85);e.choropleth=n.exports=function(n,r){r=r||{},u.defaults(r,{valueProperty:"value",scale:["white","red"],steps:5,mode:"q"});var t=r.style,f=n.features.map("function"==typeof r.valueProperty?r.valueProperty:function(n){return n.properties[r.valueProperty]}),a=o.limits(f,r.mode,r.steps-1),c=r.colors&&r.colors.length===a.length?r.colors:o.scale(r.scale).colors(a.length);return e.geoJson(n,u.extend(r,{limits:a,colors:c,style:function(n){var e,o={};if(e="function"==typeof r.valueProperty?r.valueProperty(n):n.properties[r.valueProperty],!isNaN(e))for(var f=0;f<a.length;f++)if(e<=a[f]){o.fillColor=c[f];break}switch(typeof t){case"function":return u.defaults(o,t(n));case"object":return u.defaults(o,t);default:return o}}}))}},function(n,r){function t(n){var r=typeof n;return!!n&&("object"==r||"function"==r)}n.exports=t},function(n,r,t){var e=t(17),o=t(9),u=t(4),f="[object Array]",a=Object.prototype,c=a.toString,i=e(Array,"isArray"),l=i||function(n){return u(n)&&o(n.length)&&c.call(n)==f};n.exports=l},function(n,r,t){var e=t(17),o=t(8),u=t(1),f=t(81),a=e(Object,"keys"),c=a?function(n){var r=null==n?void 0:n.constructor;return"function"==typeof r&&r.prototype===n||"function"!=typeof n&&o(n)?f(n):u(n)?a(n):[]}:f;n.exports=c},function(n,r){function t(n){return!!n&&"object"==typeof n}n.exports=t},function(n,r,t){function e(n){return o(n)?n:Object(n)}var o=t(1);n.exports=e},function(n,r,t){function e(n){if(null==n)return[];c(n)||(n=Object(n));var r=n.length;r=r&&a(r)&&(u(n)||o(n))&&r||0;for(var t=n.constructor,e=-1,i="function"==typeof t&&t.prototype===n,s=Array(r),p=r>0;++e<r;)s[e]=e+"";for(var d in n)p&&f(d,r)||"constructor"==d&&(i||!l.call(n,d))||s.push(d);return s}var o=t(11),u=t(2),f=t(13),a=t(9),c=t(1),i=Object.prototype,l=i.hasOwnProperty;n.exports=e},function(n,r,t){function e(n,r,t){if("function"!=typeof n)return o;if(void 0===r)return n;switch(t){case 1:return function(t){return n.call(r,t)};case 3:return function(t,e,o){return n.call(r,t,e,o)};case 4:return function(t,e,o,u){return n.call(r,t,e,o,u)};case 5:return function(t,e,o,u,f){return n.call(r,t,e,o,u,f)}}return function(){return n.apply(r,arguments)}}var o=t(50);n.exports=e},function(n,r,t){function e(n){return null!=n&&u(o(n))}var o=t(77),u=t(9);n.exports=e},function(n,r){function t(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=e}var e=9007199254740991;n.exports=t},function(n,r,t){function e(n){if(u(n))return n;var r=[];return o(n).replace(f,function(n,t,e,o){r.push(e?o.replace(a,"$1"):t||n)}),r}var o=t(70),u=t(2),f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,a=/\\(\\)?/g;n.exports=e},function(n,r,t){function e(n){return u(n)&&o(n)&&a.call(n,"callee")&&!c.call(n,"callee")}var o=t(8),u=t(4),f=Object.prototype,a=f.hasOwnProperty,c=f.propertyIsEnumerable;n.exports=e},function(n,r,t){function e(n,r,t){if(null!=n){void 0!==t&&t in o(n)&&(r=[t]);for(var e=0,u=r.length;null!=n&&e<u;)n=n[r[e++]];return e&&e==u?n:void 0}}var o=t(5);n.exports=e},function(n,r){function t(n,r){return n="number"==typeof n||e.test(n)?+n:-1,r=null==r?o:r,n>-1&&n%1==0&&n<r}var e=/^\d+$/,o=9007199254740991;n.exports=t},function(n,r,t){function e(n,r){var t=typeof n;if("string"==t&&a.test(n)||"number"==t)return!0;if(o(n))return!1;var e=!f.test(n);return e||null!=r&&n in u(r)}var o=t(2),u=t(5),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,a=/^\w*$/;n.exports=e},function(n,r){function t(n,r){if("function"!=typeof n)throw new TypeError(e);return r=o(void 0===r?n.length-1:+r||0,0),function(){for(var t=arguments,e=-1,u=o(t.length-r,0),f=Array(u);++e<u;)f[e]=t[r+e];switch(r){case 0:return n.call(this,f);case 1:return n.call(this,t[0],f);case 2:return n.call(this,t[0],t[1],f)}var a=Array(r+1);for(e=-1;++e<r;)a[e]=t[e];return a[r]=f,n.apply(this,a)}}var e="Expected a function",o=Math.max;n.exports=t},function(n,r,t){function e(n,r){return o(n,r,u)}var o=t(22),u=t(3);n.exports=e},function(n,r,t){function e(n,r){var t=null==n?void 0:n[r];return o(t)?t:void 0}var o=t(82);n.exports=e},function(n,r,t){function e(n){return o(n)&&a.call(n)==u}var o=t(1),u="[object Function]",f=Object.prototype,a=f.toString;n.exports=e},function(n,r,t){function e(n){return u(n)&&o(n.length)&&!!P[E.call(n)]}var o=t(9),u=t(4),f="[object Arguments]",a="[object Array]",c="[object Boolean]",i="[object Date]",l="[object Error]",s="[object Function]",p="[object Map]",d="[object Number]",h="[object Object]",b="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",m="[object ArrayBuffer]",x="[object Float32Array]",w="[object Float64Array]",k="[object Int8Array]",j="[object Int16Array]",_="[object Int32Array]",O="[object Uint8Array]",N="[object Uint8ClampedArray]",A="[object Uint16Array]",M="[object Uint32Array]",P={};P[x]=P[w]=P[k]=P[j]=P[_]=P[O]=P[N]=P[A]=P[M]=!0,P[f]=P[a]=P[m]=P[c]=P[i]=P[l]=P[s]=P[p]=P[d]=P[h]=P[b]=P[v]=P[g]=P[y]=!1;var S=Object.prototype,E=S.toString;n.exports=e},function(n,r){function t(n){var r=n?n.length:0;return r?n[r-1]:void 0}n.exports=t},function(n,r,t){function e(n,r,t){var e=typeof n;return"function"==e?void 0===r?n:f(n,r,t):null==n?a:"object"==e?o(n):void 0===r?c(n):u(n,r)}var o=t(65),u=t(66),f=t(7),a=t(50),c=t(109);n.exports=e},function(n,r,t){var e=t(39),o=e();n.exports=o},function(n,r){function t(n,r,t){var e=-1,o=n.length;r=null==r?0:+r||0,r<0&&(r=-r>o?0:o+r),t=void 0===t||t>o?o:+t||0,t<0&&(t+=o),o=r>t?0:t-r>>>0,r>>>=0;for(var u=Array(o);++e<o;)u[e]=n[e+r];return u}n.exports=t},function(n,r,t){function e(n,r,t){if(!f(t))return!1;var e=typeof r;if("number"==e?o(t)&&u(r,t.length):"string"==e&&r in t){var a=t[r];return n===n?n===a:a!==a}return!1}var o=t(8),u=t(13),f=t(1);n.exports=e},function(n,r,t){var e=t(58),o=t(28),u=t(38),f=u(function(n,r,t){return t?e(n,r,t):o(n,r)});n.exports=f},function(n,r,t){var e=t(67),o=t(38),u=o(e);n.exports=u},function(n,r){function t(n,r){for(var t=-1,e=n.length;++t<e&&r(n[t],t,n)!==!1;);return n}n.exports=t},function(n,r,t){function e(n,r){return null==r?n:o(r,u(r),n)}var o=t(29),u=t(3);n.exports=e},function(n,r){function t(n,r,t){t||(t={});for(var e=-1,o=r.length;++e<o;){var u=r[e];t[u]=n[u]}return t}n.exports=t},function(n,r,t){var e=t(1),o=function(){function n(){}return function(r){if(e(r)){n.prototype=r;var t=new n;n.prototype=void 0}return t||{}}}();n.exports=o},function(n,r,t){function e(n,r,t,i){i||(i=[]);for(var l=-1,s=n.length;++l<s;){var p=n[l];c(p)&&a(p)&&(t||f(p)||u(p))?r?e(p,r,t,i):o(i,p):t||(i[i.length]=p)}return i}var o=t(55),u=t(11),f=t(2),a=t(8),c=t(4);n.exports=e},function(n,r,t){function e(n,r){return o(n,r,u)}var o=t(22),u=t(6);n.exports=e},function(n,r,t){function e(n,r){return o(n,r,u)}var o=t(34),u=t(3);n.exports=e},function(n,r,t){var e=t(39),o=e(!0);n.exports=o},function(n,r,t){function e(n,r,t,a,c,i){return n===r||(null==n||null==r||!u(n)&&!f(r)?n!==n&&r!==r:o(n,r,e,t,a,c,i))}var o=t(63),u=t(1),f=t(4);n.exports=e},function(n,r){function t(n){return function(r){return null==r?void 0:r[n]}}n.exports=t},function(n,r){function t(n,r){for(var t=-1,e=r.length,o=Array(e);++t<e;)o[t]=n[r[t]];return o}n.exports=t},function(n,r,t){function e(n){return f(function(r,t){var e=-1,f=null==r?0:t.length,a=f>2?t[f-2]:void 0,c=f>2?t[2]:void 0,i=f>1?t[f-1]:void 0;for("function"==typeof a?(a=o(a,i,5),f-=2):(a="function"==typeof i?i:void 0,f-=a?1:0),c&&u(t[0],t[1],c)&&(a=f<3?void 0:a,f=1);++e<f;){var l=t[e];l&&n(r,l,a)}return r})}var o=t(7),u=t(24),f=t(15);n.exports=e},function(n,r,t){function e(n){return function(r,t,e){for(var u=o(r),f=e(r),a=f.length,c=n?a:-1;n?c--:++c<a;){var i=f[c];if(t(u[i],i,u)===!1)break}return r}}var o=t(5);n.exports=e},function(n,r,t){function e(n,r){return o(function(t){var e=t[0];return null==e?e:(t.push(r),n.apply(void 0,t))})}var o=t(15);n.exports=e},function(n,r,t){function e(n){return function(r,t,e){return t=o(t,e,3),u(r,t,n,!0)}}var o=t(21),u=t(60);n.exports=e},function(n,r,t){function e(n){return function(r,t,e){return"function"==typeof t&&void 0===e||(t=o(t,e,3)),n(r,t,u)}}var o=t(7),u=t(6);n.exports=e},function(n,r,t){function e(n){return function(r,t,e){return"function"==typeof t&&void 0===e||(t=o(t,e,3)),n(r,t)}}var o=t(7);n.exports=e},function(n,r,t){function e(n){return function(r,t,e){var f={};return t=o(t,e,3),u(r,function(r,e,o){var u=t(r,e,o);e=n?u:e,r=n?r:u,f[e]=r}),f}}var o=t(21),u=t(16);n.exports=e},function(n,r,t){function e(n){return n===n&&!o(n)}var o=t(1);n.exports=e},function(n,r,t){function e(n,r){n=o(n);for(var t=-1,e=r.length,u={};++t<e;){var f=r[t];f in n&&(u[f]=n[f])}return u}var o=t(5);n.exports=e},function(n,r,t){function e(n,r){var t={};return o(n,function(n,e,o){r(n,e,o)&&(t[e]=n)}),t}var o=t(32);n.exports=e},function(n,r,t){function e(n){return o(n,u(n))}var o=t(61),u=t(6);n.exports=e},function(n,r,t){function e(n){n=u(n);for(var r=-1,t=o(n),e=t.length,f=Array(e);++r<e;){var a=t[r];f[r]=[a,n[a]]}return f}var o=t(3),u=t(5);n.exports=e},function(n,r){function t(n){return n}n.exports=t},function(n,r,t){var e,o;(function(n){/**
* @license
*
* chroma.js - JavaScript library for color conversions
*
* Copyright (c) 2011-2017, Gregor Aisch
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The name Gregor Aisch may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
(function(){var t,u,f,a,c,i,l,s,p,d,h,b,v,g,y,m,x,w,k,j,_,O,N,A,M,P,S,E,B,L,R,q,G,I,U,Y,$,F,C,X,K,V,z,D,Z,J,T,W,H,Q,nn,rn,tn,en,on,un,fn,an,cn,ln,sn,pn,dn,hn,bn,vn,gn,yn,mn,xn,wn,kn,jn,_n,On,Nn,An,Mn,Pn,Sn,En=[].slice;Nn=function(){var n,r,t,e,o;for(n={},o="Boolean Number String Function Array Date RegExp Undefined Null".split(" "),e=0,r=o.length;e<r;e++)t=o[e],n["[object "+t+"]"]=t.toLowerCase();return function(r){var t;return t=Object.prototype.toString.call(r),n[t]||"object"}}(),J=function(n,r,t){return null==r&&(r=0),null==t&&(t=1),n<r&&(n=r),n>t&&(n=t),n},An=function(n){return n.length>=3?[].slice.call(n):n[0]},j=function(n){var r,t;for(n._clipped=!1,n._unclipped=n.slice(0),r=t=0;t<3;r=++t)r<3?((n[r]<0||n[r]>255)&&(n._clipped=!0),n[r]<0&&(n[r]=0),n[r]>255&&(n[r]=255)):3===r&&(n[r]<0&&(n[r]=0),n[r]>1&&(n[r]=1));return n._clipped||delete n._unclipped,n},a=Math.PI,wn=Math.round,N=Math.cos,E=Math.floor,on=Math.pow,T=Math.log,jn=Math.sin,_n=Math.sqrt,v=Math.atan2,Q=Math.max,b=Math.abs,l=2*a,c=a/3,u=a/180,i=180/a,k=function(){return arguments[0]instanceof t?arguments[0]:function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,arguments,function(){})},h=[],"undefined"!=typeof n&&null!==n&&null!=n.exports&&(n.exports=k),e=[],o=function(){return k}.apply(r,e),!(void 0!==o&&(n.exports=o)),k.version="1.3.4",d={},s=[],p=!1,t=function(){function n(){var n,r,t,e,o,u,f,a,c;for(u=this,r=[],a=0,e=arguments.length;a<e;a++)n=arguments[a],null!=n&&r.push(n);if(f=r[r.length-1],null!=d[f])u._rgb=j(d[f](An(r.slice(0,-1))));else{for(p||(s=s.sort(function(n,r){return r.p-n.p}),p=!0),c=0,o=s.length;c<o&&(t=s[c],!(f=t.test.apply(t,r)));c++);f&&(u._rgb=j(d[f].apply(d,r)))}null==u._rgb&&console.warn("unknown format: "+r),null==u._rgb&&(u._rgb=[0,0,0]),3===u._rgb.length&&u._rgb.push(1)}return n.prototype.toString=function(){return this.hex()},n.prototype.clone=function(){return k(me._rgb)},n}(),k._input=d,/**
ColorBrewer colors for chroma.js
Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The
Pennsylvania State University.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
@preserve
*/
k.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},function(){var n,r;r=[];for(n in x)r.push(x[n.toLowerCase()]=x[n]);return r}(),Mn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},k.colors=O=Mn,K=function(){var n,r,t,e,o,u,a,c,i;return r=An(arguments),o=r[0],n=r[1],t=r[2],c=(o+16)/116,a=isNaN(n)?c:c+n/500,i=isNaN(t)?c:c-t/200,c=f.Yn*V(c),a=f.Xn*V(a),i=f.Zn*V(i),u=Sn(3.2404542*a-1.5371385*c-.4985314*i),e=Sn(-.969266*a+1.8760108*c+.041556*i),t=Sn(.0556434*a-.2040259*c+1.0572252*i),[u,e,t,r.length>3?r[3]:1]},Sn=function(n){return 255*(n<=.00304?12.92*n:1.055*on(n,1/2.4)-.055)},V=function(n){return n>f.t1?n*n*n:f.t2*(n-f.t0)},f={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},dn=function(){var n,r,t,e,o,u,f,a;return e=An(arguments),t=e[0],r=e[1],n=e[2],o=yn(t,r,n),u=o[0],f=o[1],a=o[2],[116*f-16,500*(u-f),200*(f-a)]},mn=function(n){return(n/=255)<=.04045?n/12.92:on((n+.055)/1.055,2.4)},Pn=function(n){return n>f.t3?on(n,1/3):n/f.t2+f.t0},yn=function(){var n,r,t,e,o,u,a;return e=An(arguments),t=e[0],r=e[1],n=e[2],t=mn(t),r=mn(r),n=mn(n),o=Pn((.4124564*t+.3575761*r+.1804375*n)/f.Xn),u=Pn((.2126729*t+.7151522*r+.072175*n)/f.Yn),a=Pn((.0193339*t+.119192*r+.9503041*n)/f.Zn),[o,u,a]},k.lab=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["lab"]),function(){})},d.lab=K,t.prototype.lab=function(){return dn(this._rgb)},g=function(n){var r,t,e,o,u,f,a,c,i,l,s;return n=function(){var r,t,e;for(e=[],t=0,r=n.length;t<r;t++)o=n[t],e.push(k(o));return e}(),2===n.length?(i=function(){var r,t,e;for(e=[],t=0,r=n.length;t<r;t++)o=n[t],e.push(o.lab());return e}(),u=i[0],f=i[1],r=function(n){var r,t;return t=function(){var t,e;for(e=[],r=t=0;t<=2;r=++t)e.push(u[r]+n*(f[r]-u[r]));return e}(),k.lab.apply(k,t)}):3===n.length?(l=function(){var r,t,e;for(e=[],t=0,r=n.length;t<r;t++)o=n[t],e.push(o.lab());return e}(),u=l[0],f=l[1],a=l[2],r=function(n){var r,t;return t=function(){var t,e;for(e=[],r=t=0;t<=2;r=++t)e.push((1-n)*(1-n)*u[r]+2*(1-n)*n*f[r]+n*n*a[r]);return e}(),k.lab.apply(k,t)}):4===n.length?(s=function(){var r,t,e;for(e=[],t=0,r=n.length;t<r;t++)o=n[t],e.push(o.lab());return e}(),u=s[0],f=s[1],a=s[2],c=s[3],r=function(n){var r,t;return t=function(){var t,e;for(e=[],r=t=0;t<=2;r=++t)e.push((1-n)*(1-n)*(1-n)*u[r]+3*(1-n)*(1-n)*n*f[r]+3*(1-n)*n*n*a[r]+n*n*n*c[r]);return e}(),k.lab.apply(k,t)}):5===n.length&&(t=g(n.slice(0,3)),e=g(n.slice(2,5)),r=function(n){return n<.5?t(2*n):e(2*(n-.5))}),r},k.bezier=function(n){var r;return r=g(n),r.scale=function(){return k.scale(r)},r},k.cubehelix=function(n,r,t,e,o){var u,f,a;return null==n&&(n=300),null==r&&(r=-1.5),null==t&&(t=1),null==e&&(e=1),null==o&&(o=[0,1]),u=0,"array"===Nn(o)?f=o[1]-o[0]:(f=0,o=[o,o]),a=function(a){var c,i,s,p,d,h,b,v,g;return c=l*((n+120)/360+r*a),b=on(o[0]+f*a,e),h=0!==u?t[0]+a*u:t,i=h*b*(1-b)/2,p=N(c),g=jn(c),v=b+i*(-.14861*p+1.78277*g),d=b+i*(-.29227*p-.90649*g),s=b+i*(1.97294*p),k(j([255*v,255*d,255*s]))},a.start=function(r){return null==r?n:(n=r,a)},a.rotations=function(n){return null==n?r:(r=n,a)},a.gamma=function(n){return null==n?e:(e=n,a)},a.hue=function(n){return null==n?t:(t=n,"array"===Nn(t)?(u=t[1]-t[0],0===u&&(t=t[1])):u=0,a)},a.lightness=function(n){return null==n?o:("array"===Nn(n)?(o=n,f=n[1]-n[0]):(o=[n,n],f=0),a)},a.scale=function(){return k.scale(a)},a.hue(t),a},k.random=function(){var n,r,e,o;for(r="0123456789abcdef",n="#",e=o=0;o<6;e=++o)n+=r.charAt(E(16*Math.random()));return new t(n)},k.average=function(n,r){var t,e,o,u,f,c,i,l,s,p,d,h,b;null==r&&(r="rgb"),s=n.length,n=n.map(function(n){return k(n)}),i=n.splice(0,1)[0],h=i.get(r),u=[],f=0,c=0;for(l in h)h[l]=h[l]||0,u.push(isNaN(h[l])?0:1),"h"!==r.charAt(l)||isNaN(h[l])||(t=h[l]/180*a,f+=N(t),c+=jn(t));for(e=i.alpha(),d=0,p=n.length;d<p;d++){o=n[d],b=o.get(r),e+=o.alpha();for(l in h)isNaN(b[l])||(h[l]+=b[l],u[l]+=1,"h"===r.charAt(l)&&(t=h[l]/180*a,f+=N(t),c+=jn(t)))}for(l in h)if(h[l]=h[l]/u[l],"h"===r.charAt(l)){for(t=v(c/u[l],f/u[l])/a*180;t<0;)t+=360;for(;t>=360;)t-=360;h[l]=t}return k(h,r).alpha(e/s)},d.rgb=function(){var n,r,t,e;r=An(arguments),t=[];for(n in r)e=r[n],t.push(e);return t},k.rgb=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["rgb"]),function(){})},t.prototype.rgb=function(n){return null==n&&(n=!0),n?this._rgb.map(Math.round).slice(0,3):this._rgb.slice(0,3)},t.prototype.rgba=function(n){return null==n&&(n=!0),n?[Math.round(this._rgb[0]),Math.round(this._rgb[1]),Math.round(this._rgb[2]),this._rgb[3]]:this._rgb.slice(0)},s.push({p:3,test:function(n){var r;return r=An(arguments),"array"===Nn(r)&&3===r.length?"rgb":4===r.length&&"number"===Nn(r[3])&&r[3]>=0&&r[3]<=1?"rgb":void 0}}),L=function(n){var r,t,e,o,u,f;if(n.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return 4!==n.length&&7!==n.length||(n=n.substr(1)),3===n.length&&(n=n.split(""),n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),f=parseInt(n,16),o=f>>16,e=f>>8&255,t=255&f,[o,e,t,1];if(n.match(/^#?([A-Fa-f0-9]{8})$/))return 9===n.length&&(n=n.substr(1)),f=parseInt(n,16),o=f>>24&255,e=f>>16&255,t=f>>8&255,r=wn((255&f)/255*100)/100,[o,e,t,r];if(null!=d.css&&(u=d.css(n)))return u;throw"unknown color: "+n},cn=function(n,r){var t,e,o,u,f,a,c;return null==r&&(r="rgb"),f=n[0],o=n[1],e=n[2],t=n[3],f=Math.round(f),o=Math.round(o),e=Math.round(e),c=f<<16|o<<8|e,a="000000"+c.toString(16),a=a.substr(a.length-6),u="0"+wn(255*t).toString(16),u=u.substr(u.length-2),"#"+function(){switch(r.toLowerCase()){case"rgba":return a+u;case"argb":return u+a;default:return a}}()},d.hex=function(n){return L(n)},k.hex=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["hex"]),function(){})},t.prototype.hex=function(n){return null==n&&(n="rgb"),cn(this._rgb,n)},s.push({p:4,test:function(n){if(1===arguments.length&&"string"===Nn(n))return"hex"}}),G=function(){var n,r,t,e,o,u,f,a,c,i,l,s,p,d;if(n=An(arguments),o=n[0],l=n[1],f=n[2],0===l)c=e=r=255*f;else{for(d=[0,0,0],t=[0,0,0],p=f<.5?f*(1+l):f+l-f*l,s=2*f-p,o/=360,d[0]=o+1/3,d[1]=o,d[2]=o-1/3,u=a=0;a<=2;u=++a)d[u]<0&&(d[u]+=1),d[u]>1&&(d[u]-=1),6*d[u]<1?t[u]=s+6*(p-s)*d[u]:2*d[u]<1?t[u]=p:3*d[u]<2?t[u]=s+(p-s)*(2/3-d[u])*6:t[u]=s;i=[wn(255*t[0]),wn(255*t[1]),wn(255*t[2])],c=i[0],e=i[1],r=i[2]}return n.length>3?[c,e,r,n[3]]:[c,e,r]},sn=function(n,r,t){var e,o,u,f,a;return void 0!==n&&n.length>=3&&(f=n,n=f[0],r=f[1],t=f[2]),n/=255,r/=255,t/=255,u=Math.min(n,r,t),Q=Math.max(n,r,t),o=(Q+u)/2,Q===u?(a=0,e=Number.NaN):a=o<.5?(Q-u)/(Q+u):(Q-u)/(2-Q-u),n===Q?e=(r-t)/(Q-u):r===Q?e=2+(t-n)/(Q-u):t===Q&&(e=4+(n-r)/(Q-u)),e*=60,e<0&&(e+=360),[e,a,o]},k.hsl=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["hsl"]),function(){})},d.hsl=G,t.prototype.hsl=function(){return sn(this._rgb)},I=function(){var n,r,t,e,o,u,f,a,c,i,l,s,p,d,h,b,v,g;if(n=An(arguments),o=n[0],b=n[1],g=n[2],g*=255,0===b)c=e=r=g;else switch(360===o&&(o=0),o>360&&(o-=360),o<0&&(o+=360),o/=60,u=E(o),t=o-u,f=g*(1-b),a=g*(1-b*t),v=g*(1-b*(1-t)),u){case 0:i=[g,v,f],c=i[0],e=i[1],r=i[2];break;case 1:l=[a,g,f],c=l[0],e=l[1],r=l[2];break;case 2:s=[f,g,v],c=s[0],e=s[1],r=s[2];break;case 3:p=[f,a,g],c=p[0],e=p[1],r=p[2];break;case 4:d=[v,f,g],c=d[0],e=d[1],r=d[2];break;case 5:h=[g,f,a],c=h[0],e=h[1],r=h[2]}return[c,e,r,n.length>3?n[3]:1]},pn=function(){var n,r,t,e,o,u,f,a,c;return f=An(arguments),u=f[0],t=f[1],n=f[2],o=Math.min(u,t,n),Q=Math.max(u,t,n),r=Q-o,c=Q/255,0===Q?(e=Number.NaN,a=0):(a=r/Q,u===Q&&(e=(t-n)/r),t===Q&&(e=2+(n-u)/r),n===Q&&(e=4+(u-t)/r),e*=60,e<0&&(e+=360)),[e,a,c]},k.hsv=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["hsv"]),function(){})},d.hsv=I,t.prototype.hsv=function(){return pn(this._rgb)},tn=function(n){var r,t,e;return"number"===Nn(n)&&n>=0&&n<=16777215?(e=n>>16,t=n>>8&255,r=255&n,[e,t,r,1]):(console.warn("unknown num color: "+n),[0,0,0,1])},vn=function(){var n,r,t,e;return e=An(arguments),t=e[0],r=e[1],n=e[2],(t<<16)+(r<<8)+n},k.num=function(n){return new t(n,"num")},t.prototype.num=function(n){return null==n&&(n="rgb"),vn(this._rgb,n)},d.num=tn,s.push({p:1,test:function(n){if(1===arguments.length&&"number"===Nn(n)&&n>=0&&n<=16777215)return"num"}}),B=function(){var n,r,t,e,o,u,f,a,c,i,l,s,p,d,h,b,v,g,y,m;if(t=An(arguments),a=t[0],o=t[1],r=t[2],o/=100,f=f/100*255,n=255*o,0===o)s=f=e=r;else switch(360===a&&(a=0),a>360&&(a-=360),a<0&&(a+=360),a/=60,c=E(a),u=a-c,i=r*(1-o),l=i+n*(1-u),y=i+n*u,m=i+n,c){case 0:p=[m,y,i],s=p[0],f=p[1],e=p[2];break;case 1:d=[l,m,i],s=d[0],f=d[1],e=d[2];break;case 2:h=[i,m,y],s=h[0],f=h[1],e=h[2];break;case 3:b=[i,l,m],s=b[0],f=b[1],e=b[2];break;case 4:v=[y,i,m],s=v[0],f=v[1],e=v[2];break;case 5:g=[m,i,l],s=g[0],f=g[1],e=g[2]}return[s,f,e,t.length>3?t[3]:1]},an=function(){var n,r,t,e,o,u,f,a,c;return c=An(arguments),a=c[0],o=c[1],r=c[2],f=Math.min(a,o,r),Q=Math.max(a,o,r),e=Q-f,t=100*e/255,n=f/(255-e)*100,0===e?u=Number.NaN:(a===Q&&(u=(o-r)/e),o===Q&&(u=2+(r-a)/e),r===Q&&(u=4+(a-o)/e),u*=60,u<0&&(u+=360)),[u,t,n]},k.hcg=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["hcg"]),function(){})},d.hcg=B,t.prototype.hcg=function(){return an(this._rgb)},A=function(n){var r,t,e,o,u,f,a,c;if(n=n.toLowerCase(),null!=k.colors&&k.colors[n])return L(k.colors[n]);if(u=n.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(a=u.slice(1,4),o=f=0;f<=2;o=++f)a[o]=+a[o];a[3]=1}else if(u=n.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(a=u.slice(1,5),o=c=0;c<=3;o=++c)a[o]=+a[o];else if(u=n.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(a=u.slice(1,4),o=r=0;r<=2;o=++r)a[o]=wn(2.55*a[o]);a[3]=1}else if(u=n.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(a=u.slice(1,5),o=t=0;t<=2;o=++t)a[o]=wn(2.55*a[o]);a[3]=+a[3]}else(u=n.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?(e=u.slice(1,4),e[1]*=.01,e[2]*=.01,a=G(e),a[3]=1):(u=n.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&(e=u.slice(1,4),e[1]*=.01,e[2]*=.01,a=G(e),a[3]=+u[4]);return a},fn=function(n){var r;return r=n[3]<1?"rgba":"rgb","rgb"===r?r+"("+n.slice(0,3).map(wn).join(",")+")":"rgba"===r?r+"("+n.slice(0,3).map(wn).join(",")+","+n[3]+")":void 0},xn=function(n){return wn(100*n)/100},q=function(n,r){var t;return t=r<1?"hsla":"hsl",n[0]=xn(n[0]||0),n[1]=xn(100*n[1])+"%",n[2]=xn(100*n[2])+"%","hsla"===t&&(n[3]=r),t+"("+n.join(",")+")"},d.css=function(n){return A(n)},k.css=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["css"]),function(){})},t.prototype.css=function(n){return null==n&&(n="rgb"),"rgb"===n.slice(0,3)?fn(this._rgb):"hsl"===n.slice(0,3)?q(this.hsl(),this.alpha()):void 0},d.named=function(n){return L(Mn[n])},s.push({p:5,test:function(n){if(1===arguments.length&&null!=Mn[n])return"named"}}),t.prototype.name=function(n){var r,t;arguments.length&&(Mn[n]&&(this._rgb=L(Mn[n])),this._rgb[3]=1),r=this.hex();for(t in Mn)if(r===Mn[t])return t;return r},z=function(){var n,r,t,e;return e=An(arguments),t=e[0],n=e[1],r=e[2],r*=u,[t,N(r)*n,jn(r)*n]},D=function(){var n,r,t,e,o,u,f,a,c,i,l;return t=An(arguments),a=t[0],o=t[1],f=t[2],i=z(a,o,f),n=i[0],r=i[1],e=i[2],l=K(n,r,e),c=l[0],u=l[1],e=l[2],[c,u,e,t.length>3?t[3]:1]},X=function(){var n,r,t,e,o,u;return u=An(arguments),o=u[0],n=u[1],r=u[2],t=_n(n*n+r*r),e=(v(r,n)*i+360)%360,0===wn(1e4*t)&&(e=Number.NaN),[o,t,e]},hn=function(){var n,r,t,e,o,u,f;return u=An(arguments),o=u[0],t=u[1],r=u[2],f=dn(o,t,r),e=f[0],n=f[1],r=f[2],X(e,n,r)},k.lch=function(){var n;return n=An(arguments),new t(n,"lch")},k.hcl=function(){var n;return n=An(arguments),new t(n,"hcl")},d.lch=D,d.hcl=function(){var n,r,t,e;return e=An(arguments),r=e[0],n=e[1],t=e[2],D([t,n,r])},t.prototype.lch=function(){return hn(this._rgb)},t.prototype.hcl=function(){return hn(this._rgb).reverse()},un=function(n){var r,t,e,o,u,f,a,c,i;return null==n&&(n="rgb"),c=An(arguments),a=c[0],o=c[1],r=c[2],a/=255,o/=255,r/=255,u=1-Math.max(a,Math.max(o,r)),e=u<1?1/(1-u):0,t=(1-a-u)*e,f=(1-o-u)*e,i=(1-r-u)*e,[t,f,i,u]},_=function(){var n,r,t,e,o,u,f,a,c;return r=An(arguments),e=r[0],f=r[1],c=r[2],u=r[3],n=r.length>4?r[4]:1,1===u?[0,0,0,n]:(a=e>=1?0:255*(1-e)*(1-u),o=f>=1?0:255*(1-f)*(1-u),t=c>=1?0:255*(1-c)*(1-u),[a,o,t,n])},d.cmyk=function(){return _(An(arguments))},k.cmyk=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["cmyk"]),function(){})},t.prototype.cmyk=function(){return un(this._rgb)},d.gl=function(){var n,r,t,e,o;for(e=function(){var n,t;n=An(arguments),t=[];for(r in n)o=n[r],t.push(o);return t}.apply(this,arguments),n=t=0;t<=2;n=++t)e[n]*=255;return e},k.gl=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["gl"]),function(){})},t.prototype.gl=function(){var n;return n=this._rgb,[n[0]/255,n[1]/255,n[2]/255,n[3]]},bn=function(n,r,t){var e;return e=An(arguments),n=e[0],r=e[1],t=e[2],n=W(n),r=W(r),t=W(t),.2126*n+.7152*r+.0722*t},W=function(n){return n/=255,n<=.03928?n/12.92:on((n+.055)/1.055,2.4)},h=[],U=function(n,r,t,e){var o,u,f,a;for(null==t&&(t=.5),null==e&&(e="rgb"),"object"!==Nn(n)&&(n=k(n)),"object"!==Nn(r)&&(r=k(r)),f=0,u=h.length;f<u;f++)if(o=h[f],e===o[0]){a=o[1](n,r,t,e);break}if(null==a)throw"color mode "+e+" is not supported";return a.alpha(n.alpha()+t*(r.alpha()-n.alpha()))},k.interpolate=U,t.prototype.interpolate=function(n,r,t){return U(this,n,r,t)},k.mix=U,t.prototype.mix=t.prototype.interpolate,C=function(n,r,e,o){var u,f;return u=n._rgb,f=r._rgb,new t(u[0]+e*(f[0]-u[0]),u[1]+e*(f[1]-u[1]),u[2]+e*(f[2]-u[2]),o)},h.push(["rgb",C]),t.prototype.luminance=function(n,r){var t,e,o,u;return null==r&&(r="rgb"),arguments.length?(0===n?this._rgb=[0,0,0,this._rgb[3]]:1===n?this._rgb=[255,255,255,this._rgb[3]]:(e=1e-7,o=20,u=function(t,f){var a,c;return c=t.interpolate(f,.5,r),a=c.luminance(),Math.abs(n-a)<e||!o--?c:a>n?u(t,c):u(c,f)},t=bn(this._rgb),this._rgb=(t>n?u(k("black"),this):u(this,k("white"))).rgba()),this):bn(this._rgb)},On=function(n){var r,t,e,o;return o=n/100,o<66?(e=255,t=-155.25485562709179-.44596950469579133*(t=o-2)+104.49216199393888*T(t),r=o<20?0:-254.76935184120902+.8274096064007395*(r=o-10)+115.67994401066147*T(r)):(e=351.97690566805693+.114206453784165*(e=o-55)-40.25366309332127*T(e),t=325.4494125711974+.07943456536662342*(t=o-50)-28.0852963507957*T(t),r=255),[e,t,r]},gn=function(){var n,r,t,e,o,u,f,a,c;for(f=An(arguments),u=f[0],t=f[1],n=f[2],o=1e3,e=4e4,r=.4;e-o>r;)c=.5*(e+o),a=On(c),a[2]/a[0]>=n/u?e=c:o=c;return wn(c)},k.temperature=k.kelvin=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["temperature"]),function(){})},d.temperature=d.kelvin=d.K=On,t.prototype.temperature=function(){return gn(this._rgb)},t.prototype.kelvin=t.prototype.temperature,k.contrast=function(n,r){var e,o,u,f;return"string"!==(u=Nn(n))&&"number"!==u||(n=new t(n)),"string"!==(f=Nn(r))&&"number"!==f||(r=new t(r)),e=n.luminance(),o=r.luminance(),e>o?(e+.05)/(o+.05):(o+.05)/(e+.05)},k.distance=function(n,r,e){var o,u,f,a,c,i,l;null==e&&(e="lab"),"string"!==(c=Nn(n))&&"number"!==c||(n=new t(n)),"string"!==(i=Nn(r))&&"number"!==i||(r=new t(r)),f=n.get(e),a=r.get(e),l=0;for(u in f)o=(f[u]||0)-(a[u]||0),l+=o*o;return Math.sqrt(l)},k.deltaE=function(n,r,e,o){var u,f,c,i,l,s,p,d,h,g,y,m,x,w,k,j,_,O,A,M,P,S,E,B,L,R,q;for(null==e&&(e=1),null==o&&(o=1),"string"!==(_=Nn(n))&&"number"!==_||(n=new t(n)),"string"!==(O=Nn(r))&&"number"!==O||(r=new t(r)),A=n.lab(),u=A[0],c=A[1],l=A[2],M=r.lab(),f=M[0],i=M[1],s=M[2],p=_n(c*c+l*l),d=_n(i*i+s*s),E=u<16?.511:.040975*u/(1+.01765*u),P=.0638*p/(1+.0131*p)+.638,j=p<1e-6?0:180*v(l,c)/a;j<0;)j+=360;for(;j>=360;)j-=360;return B=j>=164&&j<=345?.56+b(.2*N(a*(j+168)/180)):.36+b(.4*N(a*(j+35)/180)),h=p*p*p*p,k=_n(h/(h+1900)),S=P*(k*B+1-k),w=u-f,x=p-d,y=c-i,m=l-s,g=y*y+m*m-x*x,L=w/(e*E),R=x/(o*P),q=S,_n(L*L+R*R+g/(q*q))},t.prototype.get=function(n){var r,t,e,o,u,f;return e=this,u=n.split("."),o=u[0],r=u[1],f=e[o](),r?(t=o.indexOf(r),t>-1?f[t]:console.warn("unknown channel "+r+" in mode "+o)):f},t.prototype.set=function(n,r){var t,e,o,u,f,a;if(o=this,f=n.split("."),u=f[0],t=f[1],t)if(a=o[u](),e=u.indexOf(t),e>-1)if("string"===Nn(r))switch(r.charAt(0)){case"+":a[e]+=+r;break;case"-":a[e]+=+r;break;case"*":a[e]*=+r.substr(1);break;case"/":a[e]/=+r.substr(1);break;default:a[e]=+r}else a[e]=r;else console.warn("unknown channel "+t+" in mode "+u);else a=r;return k(a,u).alpha(o.alpha())},t.prototype.clipped=function(){return this._rgb._clipped||!1},t.prototype.alpha=function(n){return arguments.length?k.rgb([this._rgb[0],this._rgb[1],this._rgb[2],n]):this._rgb[3]},t.prototype.darken=function(n){var r,t;return null==n&&(n=1),t=this,r=t.lab(),r[0]-=f.Kn*n,k.lab(r).alpha(t.alpha())},t.prototype.brighten=function(n){return null==n&&(n=1),this.darken(-n)},t.prototype.darker=t.prototype.darken,t.prototype.brighter=t.prototype.brighten,t.prototype.saturate=function(n){var r,t;return null==n&&(n=1),t=this,r=t.lch(),r[1]+=n*f.Kn,r[1]<0&&(r[1]=0),k.lch(r).alpha(t.alpha())},t.prototype.desaturate=function(n){return null==n&&(n=1),this.saturate(-n)},t.prototype.premultiply=function(){var n,r;return r=this.rgb(),n=this.alpha(),k(r[0]*n,r[1]*n,r[2]*n,n)},y=function(n,r,t){if(!y[t])throw"unknown blend mode "+t;return y[t](n,r)},m=function(n){return function(r,t){var e,o;return e=k(t).rgb(),o=k(r).rgb(),k(n(e,o),"rgb")}},S=function(n){return function(r,t){var e,o,u;for(u=[],e=o=0;o<=3;e=++o)u[e]=n(r[e],t[e]);return u}},rn=function(n,r){return n},nn=function(n,r){return n*r/255},M=function(n,r){return n>r?r:n},Z=function(n,r){return n>r?n:r},kn=function(n,r){return 255*(1-(1-n/255)*(1-r/255))},en=function(n,r){return r<128?2*n*r/255:255*(1-2*(1-n/255)*(1-r/255))},w=function(n,r){return 255*(1-(1-r/255)/(n/255))},P=function(n,r){return 255===n?255:(n=255*(r/255)/(1-n/255),n>255?255:n)},y.normal=m(S(rn)),y.multiply=m(S(nn)),y.screen=m(S(kn)),y.overlay=m(S(en)),y.darken=m(S(M)),y.lighten=m(S(Z)),y.dodge=m(S(P)),y.burn=m(S(w)),k.blend=y,k.analyze=function(n){var r,t,e,o;for(e={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},t=0,r=n.length;t<r;t++)o=n[t],null==o||isNaN(o)||(e.values.push(o),e.sum+=o,o<e.min&&(e.min=o),o>e.max&&(e.max=o),e.count+=1);return e.domain=[e.min,e.max],e.limits=function(n,r){return k.limits(e,n,r)},e},k.scale=function(n,r){var t,e,o,u,f,a,c,i,l,s,p,d,h,b,v,g,y,m,x,w,j,_;return l="rgb",s=k("#ccc"),b=0,a=!1,f=[0,1],h=[],d=[0,0],t=!1,o=[],p=!1,i=0,c=1,u=!1,e={},v=!0,j=function(n){var r,t,e,u,f,a;if(null==n&&(n=["#fff","#000"]),null!=n&&"string"===Nn(n)&&null!=k.brewer&&(n=k.brewer[n]||k.brewer[n.toLowerCase()]||n),"array"===Nn(n)){for(n=n.slice(0),r=e=0,u=n.length-1;0<=u?e<=u:e>=u;r=0<=u?++e:--e)t=n[r],"string"===Nn(t)&&(n[r]=k(t));for(h.length=0,r=a=0,f=n.length-1;0<=f?a<=f:a>=f;r=0<=f?++a:--a)h.push(r/(n.length-1))}return w(),o=n},m=function(n){var r,e;if(null!=t){for(e=t.length-1,r=0;r<e&&n>=t[r];)r++;return r-1}return 0},_=function(n){return n},g=function(n){var r,e,o,u,f;return f=n,t.length>2&&(u=t.length-1,r=m(n),o=t[0]+(t[1]-t[0])*(0+.5*b),e=t[u-1]+(t[u]-t[u-1])*(1-.5*b),f=i+(t[r]+.5*(t[r+1]-t[r])-o)/(e-o)*(c-i)),f},x=function(n,r){var u,f,a,p,b,g,y,x;if(null==r&&(r=!1),isNaN(n))return s;if(r?x=n:t&&t.length>2?(u=m(n),x=u/(t.length-2),x=d[0]+x*(1-d[0]-d[1])):c!==i?(x=(n-i)/(c-i),x=d[0]+x*(1-d[0]-d[1]),x=Math.min(1,Math.max(0,x))):x=1,r||(x=_(x)),p=Math.floor(1e4*x),v&&e[p])f=e[p];else{if("array"===Nn(o))for(a=b=0,y=h.length-1;0<=y?b<=y:b>=y;a=0<=y?++b:--b){if(g=h[a],x<=g){f=o[a];break}if(x>=g&&a===h.length-1){f=o[a];break}if(x>g&&x<h[a+1]){x=(x-g)/(h[a+1]-g),f=k.interpolate(o[a],o[a+1],x,l);break}}else"function"===Nn(o)&&(f=o(x));v&&(e[p]=f)}return f},w=function(){return e={}},j(n),y=function(n){var r;return r=k(x(n)),p&&r[p]?r[p]():r},y.classes=function(n){var r;return null!=n?("array"===Nn(n)?(t=n,f=[n[0],n[n.length-1]]):(r=k.analyze(f),t=0===n?[r.min,r.max]:k.limits(r,"e",n)),y):t},y.domain=function(n){var r,t,e,u,a,l,s;if(!arguments.length)return f;if(i=n[0],c=n[n.length-1],h=[],e=o.length,n.length===e&&i!==c)for(a=0,u=n.length;a<u;a++)t=n[a],h.push((t-i)/(c-i));else for(r=s=0,l=e-1;0<=l?s<=l:s>=l;r=0<=l?++s:--s)h.push(r/(e-1));return f=[i,c],y},y.mode=function(n){return arguments.length?(l=n,w(),y):l},y.range=function(n,r){return j(n,r),y},y.out=function(n){return p=n,y},y.spread=function(n){return arguments.length?(b=n,y):b},y.correctLightness=function(n){return null==n&&(n=!0),u=n,w(),_=u?function(n){var r,t,e,o,u,f,a,c,i;for(r=x(0,!0).lab()[0],t=x(1,!0).lab()[0],a=r>t,e=x(n,!0).lab()[0],u=r+(t-r)*n,o=e-u,c=0,i=1,f=20;Math.abs(o)>.01&&f-- >0;)!function(){return a&&(o*=-1),o<0?(c=n,n+=.5*(i-n)):(i=n,n+=.5*(c-n)),e=x(n,!0).lab()[0],o=e-u}();return n}:function(n){return n},y},y.padding=function(n){return null!=n?("number"===Nn(n)&&(n=[n,n]),d=n,y):d},y.colors=function(r,e){var u,a,c,i,l,s,p,d;if(arguments.length<2&&(e="hex"),l=[],0===arguments.length)l=o.slice(0);else if(1===r)l=[y(.5)];else if(r>1)a=f[0],u=f[1]-a,l=function(){s=[];for(var n=0;0<=r?n<r:n>r;0<=r?n++:n--)s.push(n);return s}.apply(this).map(function(n){return y(a+n/(r-1)*u)});else{if(n=[],p=[],t&&t.length>2)for(c=d=1,i=t.length;1<=i?d<i:d>i;c=1<=i?++d:--d)p.push(.5*(t[c-1]+t[c]));else p=f;l=p.map(function(n){return y(n)})}return k[e]&&(l=l.map(function(n){return n[e]()})),l},y.cache=function(n){return null!=n?v=n:v},y},null==k.scales&&(k.scales={}),k.scales.cool=function(){return k.scale([k.hsl(180,1,.9),k.hsl(250,.7,.4)])},k.scales.hot=function(){return k.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},k.analyze=function(n,r,t){var e,o,u,f,a,c,i;if(a={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},null==t&&(t=function(){return!0}),e=function(n){null==n||isNaN(n)||(a.values.push(n),a.sum+=n,n<a.min&&(a.min=n),n>a.max&&(a.max=n),a.count+=1)},i=function(n,o){if(t(n,o))return e(null!=r&&"function"===Nn(r)?r(n):null!=r&&"string"===Nn(r)||"number"===Nn(r)?n[r]:n)},"array"===Nn(n))for(f=0,u=n.length;f<u;f++)c=n[f],i(c);else for(o in n)c=n[o],i(c,o);return a.domain=[a.min,a.max],a.limits=function(n,r){return k.limits(a,n,r)},a},k.limits=function(n,r,t){var e,o,u,f,a,c,i,l,s,p,d,h,v,g,y,m,x,w,j,_,O,N,A,M,P,S,B,L,R,q,G,I,U,Y,$,F,C,X,K,V,z,D,Z,J,W,H,nn,rn,tn,en,un,fn,an,cn,ln,sn;if(null==r&&(r="equal"),null==t&&(t=7),"array"===Nn(n)&&(n=k.analyze(n)),P=n.min,Q=n.max,un=n.sum,ln=n.values.sort(function(n,r){return n-r}),1===t)return[P,Q];if(A=[],"c"===r.substr(0,1)&&(A.push(P),A.push(Q)),"e"===r.substr(0,1)){for(A.push(P),_=G=1,$=t-1;1<=$?G<=$:G>=$;_=1<=$?++G:--G)A.push(P+_/t*(Q-P));A.push(Q)}else if("l"===r.substr(0,1)){if(P<=0)throw"Logarithmic scales are only possible for values > 0";for(S=Math.LOG10E*T(P),M=Math.LOG10E*T(Q),A.push(P),_=sn=1,F=t-1;1<=F?sn<=F:sn>=F;_=1<=F?++sn:--sn)A.push(on(10,S+_/t*(M-S)));A.push(Q)}else if("q"===r.substr(0,1)){for(A.push(P),_=e=1,D=t-1;1<=D?e<=D:e>=D;_=1<=D?++e:--e)I=(ln.length-1)*_/t,U=E(I),U===I?A.push(ln[U]):(Y=I-U,A.push(ln[U]*(1-Y)+ln[U+1]*Y));A.push(Q)}else if("k"===r.substr(0,1)){for(L=ln.length,g=new Array(L),w=new Array(t),en=!0,R=0,m=null,m=[],m.push(P),_=o=1,Z=t-1;1<=Z?o<=Z:o>=Z;_=1<=Z?++o:--o)m.push(P+_/t*(Q-P));for(m.push(Q);en;){for(O=u=0,J=t-1;0<=J?u<=J:u>=J;O=0<=J?++u:--u)w[O]=0;for(_=f=0,W=L-1;0<=W?f<=W:f>=W;_=0<=W?++f:--f){for(cn=ln[_],B=Number.MAX_VALUE,O=a=0,H=t-1;0<=H?a<=H:a>=H;O=0<=H?++a:--a)j=b(m[O]-cn),j<B&&(B=j,y=O);w[y]++,g[_]=y}for(q=new Array(t),O=c=0,nn=t-1;0<=nn?c<=nn:c>=nn;O=0<=nn?++c:--c)q[O]=null;for(_=i=0,rn=L-1;0<=rn?i<=rn:i>=rn;_=0<=rn?++i:--i)x=g[_],null===q[x]?q[x]=ln[_]:q[x]+=ln[_];for(O=l=0,tn=t-1;0<=tn?l<=tn:l>=tn;O=0<=tn?++l:--l)q[O]*=1/w[O];for(en=!1,O=s=0,C=t-1;0<=C?s<=C:s>=C;O=0<=C?++s:--s)if(q[O]!==m[_]){en=!0;break}m=q,R++,R>200&&(en=!1)}for(N={},O=p=0,X=t-1;0<=X?p<=X:p>=X;O=0<=X?++p:--p)N[O]=[];for(_=d=0,K=L-1;0<=K?d<=K:d>=K;_=0<=K?++d:--d)x=g[_],N[x].push(ln[_]);for(fn=[],O=h=0,V=t-1;0<=V?h<=V:h>=V;O=0<=V?++h:--h)fn.push(N[O][0]),fn.push(N[O][N[O].length-1]);for(fn=fn.sort(function(n,r){return n-r}),A.push(fn[0]),_=v=1,z=fn.length-1;v<=z;_=v+=2)an=fn[_],isNaN(an)||A.indexOf(an)!==-1||A.push(an)}return A},R=function(n,r,t){var e,o,u,f;return e=An(arguments),n=e[0],r=e[1],t=e[2],isNaN(n)&&(n=0),n/=360,n<1/3?(o=(1-r)/3,f=(1+r*N(l*n)/N(c-l*n))/3,u=1-(o+f)):n<2/3?(n-=1/3,f=(1-r)/3,u=(1+r*N(l*n)/N(c-l*n))/3,o=1-(f+u)):(n-=2/3,u=(1-r)/3,o=(1+r*N(l*n)/N(c-l*n))/3,f=1-(u+o)),f=J(t*f*3),u=J(t*u*3),o=J(t*o*3),[255*f,255*u,255*o,e.length>3?e[3]:1]},ln=function(){var n,r,t,e,o,u,f,a;return f=An(arguments),u=f[0],r=f[1],n=f[2],l=2*Math.PI,u/=255,
r/=255,n/=255,o=Math.min(u,r,n),e=(u+r+n)/3,a=1-o/e,0===a?t=0:(t=(u-r+(u-n))/2,t/=Math.sqrt((u-r)*(u-r)+(u-n)*(r-n)),t=Math.acos(t),n>r&&(t=l-t),t/=l),[360*t,a,e]},k.hsi=function(){return function(n,r,t){t.prototype=n.prototype;var e=new t,o=n.apply(e,r);return Object(o)===o?o:e}(t,En.call(arguments).concat(["hsi"]),function(){})},d.hsi=R,t.prototype.hsi=function(){return ln(this._rgb)},Y=function(n,r,t,e){var o,u,f,a,c,i,l,s,p,d,h,b,v;return"hsl"===e?(b=n.hsl(),v=r.hsl()):"hsv"===e?(b=n.hsv(),v=r.hsv()):"hcg"===e?(b=n.hcg(),v=r.hcg()):"hsi"===e?(b=n.hsi(),v=r.hsi()):"lch"!==e&&"hcl"!==e||(e="hcl",b=n.hcl(),v=r.hcl()),"h"===e.substr(0,1)&&(f=b[0],d=b[1],i=b[2],a=v[0],h=v[1],l=v[2]),isNaN(f)||isNaN(a)?isNaN(f)?isNaN(a)?u=Number.NaN:(u=a,1!==i&&0!==i||"hsv"===e||(p=h)):(u=f,1!==l&&0!==l||"hsv"===e||(p=d)):(o=a>f&&a-f>180?a-(f+360):a<f&&f-a>180?a+360-f:a-f,u=f+t*o),null==p&&(p=d+t*(h-d)),c=i+t*(l-i),s=k[e](u,p,c)},h=h.concat(function(){var n,r,t,e;for(t=["hsv","hsl","hsi","hcl","lch","hcg"],e=[],r=0,n=t.length;r<n;r++)H=t[r],e.push([H,Y]);return e}()),F=function(n,r,t,e){var o,u;return o=n.num(),u=r.num(),k.num(o+(u-o)*t,"num")},h.push(["num",F]),$=function(n,r,e,o){var u,f,a;return f=n.lab(),a=r.lab(),u=new t(f[0]+e*(a[0]-f[0]),f[1]+e*(a[1]-f[1]),f[2]+e*(a[2]-f[2]),o)},h.push(["lab",$])}).call(this)}).call(r,t(110)(n))},function(n,r,t){(function(r){function e(n){var r=n?n.length:0;for(this.data={hash:a(null),set:new f};r--;)this.push(n[r])}var o=t(72),u=t(17),f=u(r,"Set"),a=u(Object,"create");e.prototype.push=o,n.exports=e}).call(r,function(){return this}())},function(n,r){function t(n,r){var t=-1,e=n.length;for(r||(r=Array(e));++t<e;)r[t]=n[t];return r}n.exports=t},function(n,r){function t(n,r){for(var t=-1,e=n.length,o=Array(e);++t<e;)o[t]=r(n[t],t,n);return o}n.exports=t},function(n,r){function t(n,r){for(var t=-1,e=r.length,o=n.length;++t<e;)n[o+t]=r[t];return n}n.exports=t},function(n,r){function t(n,r){for(var t=-1,e=n.length;++t<e;)if(r(n[t],t,n))return!0;return!1}n.exports=t},function(n,r){function t(n,r){return void 0===n?r:n}n.exports=t},function(n,r,t){function e(n,r,t){for(var e=-1,u=o(r),f=u.length;++e<f;){var a=u[e],c=n[a],i=t(c,r[a],a,n,r);(i===i?i===c:c!==c)&&(void 0!==c||a in n)||(n[a]=i)}return n}var o=t(3);n.exports=e},function(n,r,t){function e(n,r){var t=n?n.length:0,e=[];if(!t)return e;var c=-1,i=o,l=!0,s=l&&r.length>=a?f(r):null,p=r.length;s&&(i=u,l=!1,r=s);n:for(;++c<t;){var d=n[c];if(l&&d===d){for(var h=p;h--;)if(r[h]===d)continue n;e.push(d)}else i(r,d,0)<0&&e.push(d)}return e}var o=t(62),u=t(71),f=t(73),a=200;n.exports=e},function(n,r){function t(n,r,t,e){var o;return t(n,function(n,t,u){if(r(n,t,u))return o=e?t:n,!1}),o}n.exports=t},function(n,r,t){function e(n,r){for(var t=-1,e=r.length,u=-1,f=[];++t<e;){var a=r[t];o(n[a])&&(f[++u]=a)}return f}var o=t(18);n.exports=e},function(n,r,t){function e(n,r,t){if(r!==r)return o(n,t);for(var e=t-1,u=n.length;++e<u;)if(n[e]===r)return e;return-1}var o=t(79);n.exports=e},function(n,r,t){function e(n,r,t,e,p,b,v){var g=a(n),y=a(r),m=l,x=l;g||(m=h.call(n),m==i?m=s:m!=s&&(g=c(n))),y||(x=h.call(r),x==i?x=s:x!=s&&(y=c(r)));var w=m==s,k=x==s,j=m==x;if(j&&!g&&!w)return u(n,r,m);if(!p){var _=w&&d.call(n,"__wrapped__"),O=k&&d.call(r,"__wrapped__");if(_||O)return t(_?n.value():n,O?r.value():r,e,p,b,v)}if(!j)return!1;b||(b=[]),v||(v=[]);for(var N=b.length;N--;)if(b[N]==n)return v[N]==r;b.push(n),v.push(r);var A=(g?o:f)(n,r,t,e,p,b,v);return b.pop(),v.pop(),A}var o=t(74),u=t(75),f=t(76),a=t(2),c=t(19),i="[object Arguments]",l="[object Array]",s="[object Object]",p=Object.prototype,d=p.hasOwnProperty,h=p.toString;n.exports=e},function(n,r,t){function e(n,r,t){var e=r.length,f=e,a=!t;if(null==n)return!f;for(n=u(n);e--;){var c=r[e];if(a&&c[2]?c[1]!==n[c[0]]:!(c[0]in n))return!1}for(;++e<f;){c=r[e];var i=c[0],l=n[i],s=c[1];if(a&&c[2]){if(void 0===l&&!(i in n))return!1}else{var p=t?t(l,s,i):void 0;if(!(void 0===p?o(s,l,t,!0):p))return!1}}return!0}var o=t(35),u=t(5);n.exports=e},function(n,r,t){function e(n){var r=u(n);if(1==r.length&&r[0][2]){var t=r[0][0],e=r[0][1];return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in f(n)))}}return function(n){return o(n,r)}}var o=t(64),u=t(78),f=t(5);n.exports=e},function(n,r,t){function e(n,r){var t=a(n),e=c(n)&&i(r),d=n+"";return n=p(n),function(a){if(null==a)return!1;var c=d;if(a=s(a),(t||!e)&&!(c in a)){if(a=1==n.length?a:o(a,f(n,0,-1)),null==a)return!1;c=l(n),a=s(a)}return a[c]===r?void 0!==r||c in a:u(r,a[c],void 0,!0)}}var o=t(12),u=t(35),f=t(23),a=t(2),c=t(14),i=t(45),l=t(20),s=t(5),p=t(10);n.exports=e},function(n,r,t){function e(n,r,t,p,d){if(!c(n))return n;var h=a(r)&&(f(r)||l(r)),b=h?void 0:s(r);return o(b||r,function(o,f){if(b&&(f=o,o=r[f]),i(o))p||(p=[]),d||(d=[]),u(n,r,f,e,t,p,d);else{var a=n[f],c=t?t(a,o,f,n,r):void 0,l=void 0===c;l&&(c=o),void 0===c&&(!h||f in n)||!l&&(c===c?c===a:a!==a)||(n[f]=c)}}),n}var o=t(27),u=t(68),f=t(2),a=t(8),c=t(1),i=t(4),l=t(19),s=t(3);n.exports=e},function(n,r,t){function e(n,r,t,e,s,p,d){for(var h=p.length,b=r[t];h--;)if(p[h]==b)return void(n[t]=d[h]);var v=n[t],g=s?s(v,b,t,n,r):void 0,y=void 0===g;y&&(g=b,a(b)&&(f(b)||i(b))?g=f(v)?v:a(v)?o(v):[]:c(b)||u(b)?g=u(v)?l(v):c(v)?v:{}:y=!1),p.push(b),d.push(g),y?n[t]=e(g,b,s,p,d):(g===g?g!==v:v===v)&&(n[t]=g)}var o=t(53),u=t(11),f=t(2),a=t(8),c=t(83),i=t(19),l=t(84);n.exports=e},function(n,r,t){function e(n){var r=n+"";return n=u(n),function(t){return o(t,n,r)}}var o=t(12),u=t(10);n.exports=e},function(n,r){function t(n){return null==n?"":n+""}n.exports=t},function(n,r,t){function e(n,r){var t=n.data,e="string"==typeof r||o(r)?t.set.has(r):t.hash[r];return e?0:-1}var o=t(1);n.exports=e},function(n,r,t){function e(n){var r=this.data;"string"==typeof n||o(n)?r.set.add(n):r.hash[n]=!0}var o=t(1);n.exports=e},function(n,r,t){(function(r){function e(n){return a&&f?new o(n):null}var o=t(52),u=t(17),f=u(r,"Set"),a=u(Object,"create");n.exports=e}).call(r,function(){return this}())},function(n,r,t){function e(n,r,t,e,u,f,a){var c=-1,i=n.length,l=r.length;if(i!=l&&!(u&&l>i))return!1;for(;++c<i;){var s=n[c],p=r[c],d=e?e(u?p:s,u?s:p,c):void 0;if(void 0!==d){if(d)continue;return!1}if(u){if(!o(r,function(n){return s===n||t(s,n,e,u,f,a)}))return!1}else if(s!==p&&!t(s,p,e,u,f,a))return!1}return!0}var o=t(56);n.exports=e},function(n,r){function t(n,r,t){switch(t){case e:case o:return+n==+r;case u:return n.name==r.name&&n.message==r.message;case f:return n!=+n?r!=+r:n==+r;case a:case c:return n==r+""}return!1}var e="[object Boolean]",o="[object Date]",u="[object Error]",f="[object Number]",a="[object RegExp]",c="[object String]";n.exports=t},function(n,r,t){function e(n,r,t,e,u,a,c){var i=o(n),l=i.length,s=o(r),p=s.length;if(l!=p&&!u)return!1;for(var d=l;d--;){var h=i[d];if(!(u?h in r:f.call(r,h)))return!1}for(var b=u;++d<l;){h=i[d];var v=n[h],g=r[h],y=e?e(u?g:v,u?v:g,h):void 0;if(!(void 0===y?t(v,g,e,u,a,c):y))return!1;b||(b="constructor"==h)}if(!b){var m=n.constructor,x=r.constructor;if(m!=x&&"constructor"in n&&"constructor"in r&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x))return!1}return!0}var o=t(3),u=Object.prototype,f=u.hasOwnProperty;n.exports=e},function(n,r,t){var e=t(36),o=e("length");n.exports=o},function(n,r,t){function e(n){for(var r=u(n),t=r.length;t--;)r[t][2]=o(r[t][1]);return r}var o=t(45),u=t(49);n.exports=e},function(n,r){function t(n,r,t){for(var e=n.length,o=r+(t?0:-1);t?o--:++o<e;){var u=n[o];if(u!==u)return o}return-1}n.exports=t},function(n,r,t){function e(n,r){return void 0===n?r:o(n,r,e)}var o=t(26);n.exports=e},function(n,r,t){function e(n){for(var r=c(n),t=r.length,e=t&&n.length,i=!!e&&a(e)&&(u(n)||o(n)),s=-1,p=[];++s<t;){var d=r[s];(i&&f(d,e)||l.call(n,d))&&p.push(d)}return p}var o=t(11),u=t(2),f=t(13),a=t(9),c=t(6),i=Object.prototype,l=i.hasOwnProperty;n.exports=e},function(n,r,t){function e(n){return null!=n&&(o(n)?l.test(c.call(n)):u(n)&&f.test(n))}var o=t(18),u=t(4),f=/^\[object .+?Constructor\]$/,a=Object.prototype,c=Function.prototype.toString,i=a.hasOwnProperty,l=RegExp("^"+c.call(i).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n.exports=e},function(n,r,t){function e(n){var r;if(!f(n)||l.call(n)!=a||u(n)||!i.call(n,"constructor")&&(r=n.constructor,"function"==typeof r&&!(r instanceof r)))return!1;var t;return o(n,function(n,r){t=r}),void 0===t||i.call(n,t)}var o=t(32),u=t(11),f=t(4),a="[object Object]",c=Object.prototype,i=c.hasOwnProperty,l=c.toString;n.exports=e},function(n,r,t){function e(n){return o(n,u(n))}var o=t(29),u=t(6);n.exports=e},function(n,r,t){n.exports={assign:t(25),create:t(86),defaults:t(87),defaultsDeep:t(88),extend:t(89),findKey:t(90),findLastKey:t(91),forIn:t(92),forInRight:t(93),forOwn:t(94),forOwnRight:t(95),functions:t(48),get:t(96),has:t(97),invert:t(98),keys:t(3),keysIn:t(6),mapKeys:t(99),mapValues:t(100),merge:t(26),methods:t(101),omit:t(102),pairs:t(49),pick:t(103),result:t(104),set:t(105),transform:t(106),values:t(107),valuesIn:t(108)}},function(n,r,t){function e(n,r,t){var e=u(n);return t&&f(n,r,t)&&(r=void 0),r?o(e,r):e}var o=t(28),u=t(30),f=t(24);n.exports=e},function(n,r,t){var e=t(25),o=t(57),u=t(40),f=u(e,o);n.exports=f},function(n,r,t){var e=t(40),o=t(26),u=t(80),f=e(o,u);n.exports=f},function(n,r,t){n.exports=t(25)},function(n,r,t){var e=t(16),o=t(41),u=o(e);n.exports=u},function(n,r,t){var e=t(33),o=t(41),u=o(e);n.exports=u},function(n,r,t){var e=t(22),o=t(42),u=o(e);n.exports=u},function(n,r,t){var e=t(34),o=t(42),u=o(e);n.exports=u},function(n,r,t){var e=t(16),o=t(43),u=o(e);n.exports=u},function(n,r,t){var e=t(33),o=t(43),u=o(e);n.exports=u},function(n,r,t){function e(n,r,t){var e=null==n?void 0:o(n,u(r),r+"");return void 0===e?t:e}var o=t(12),u=t(10);n.exports=e},function(n,r,t){function e(n,r){if(null==n)return!1;var t=h.call(n,r);if(!t&&!i(r)){if(r=p(r),n=1==r.length?n:o(n,u(r,0,-1)),null==n)return!1;r=s(r),t=h.call(n,r)}return t||l(n.length)&&c(r,n.length)&&(a(n)||f(n))}var o=t(12),u=t(23),f=t(11),a=t(2),c=t(13),i=t(14),l=t(9),s=t(20),p=t(10),d=Object.prototype,h=d.hasOwnProperty;n.exports=e},function(n,r,t){function e(n,r,t){t&&o(n,r,t)&&(r=void 0);for(var e=-1,f=u(n),c=f.length,i={};++e<c;){var l=f[e],s=n[l];r?a.call(i,s)?i[s].push(l):i[s]=[l]:i[s]=l}return i}var o=t(24),u=t(3),f=Object.prototype,a=f.hasOwnProperty;n.exports=e},function(n,r,t){var e=t(44),o=e(!0);n.exports=o},function(n,r,t){var e=t(44),o=e();n.exports=o},function(n,r,t){n.exports=t(48)},function(n,r,t){var e=t(54),o=t(59),u=t(31),f=t(7),a=t(6),c=t(46),i=t(47),l=t(15),s=l(function(n,r){if(null==n)return{};if("function"!=typeof r[0]){var r=e(u(r),String);return c(n,o(a(n),r))}var t=f(r[0],r[1],3);return i(n,function(n,r,e){return!t(n,r,e)})});n.exports=s},function(n,r,t){var e=t(31),o=t(7),u=t(46),f=t(47),a=t(15),c=a(function(n,r){return null==n?{}:"function"==typeof r[0]?f(n,o(r[0],r[1],3)):u(n,e(r))});n.exports=c},function(n,r,t){function e(n,r,t){var e=null==n?void 0:n[r];return void 0===e&&(null==n||a(r,n)||(r=i(r),n=1==r.length?n:o(n,u(r,0,-1)),e=null==n?void 0:n[c(r)]),e=void 0===e?t:e),f(e)?e.call(n):e}var o=t(12),u=t(23),f=t(18),a=t(14),c=t(20),i=t(10);n.exports=e},function(n,r,t){function e(n,r,t){if(null==n)return n;var e=r+"";r=null!=n[e]||u(r,n)?[e]:a(r);for(var c=-1,i=r.length,l=i-1,s=n;null!=s&&++c<i;){var p=r[c];f(s)&&(c==l?s[p]=t:null==s[p]&&(s[p]=o(r[c+1])?[]:{})),s=s[p]}return n}var o=t(13),u=t(14),f=t(1),a=t(10);n.exports=e},function(n,r,t){function e(n,r,t,e){var p=c(n)||s(n);if(r=u(r,e,4),null==t)if(p||l(n)){var d=n.constructor;t=p?c(n)?new d:[]:f(i(d)?d.prototype:void 0)}else t={};return(p?o:a)(n,function(n,e,o){return r(t,n,e,o)}),t}var o=t(27),u=t(21),f=t(30),a=t(16),c=t(2),i=t(18),l=t(1),s=t(19);n.exports=e},function(n,r,t){function e(n){return o(n,u(n))}var o=t(37),u=t(3);n.exports=e},function(n,r,t){function e(n){return o(n,u(n))}var o=t(37),u=t(6);n.exports=e},function(n,r,t){function e(n){return f(n)?o(n):u(n)}var o=t(36),u=t(69),f=t(14);n.exports=e},function(n,r){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children=[],n.webpackPolyfill=1),n}},function(n,r){n.exports=L}]);
================================================
FILE: examples/basic/crimes_by_district.geojson
================================================
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.1972382872565,
39.9294288475177
],
[
-75.1969248893574,
39.9291749499585
],
[
-75.1966534158686,
39.9293232425744
],
[
-75.1962077166281,
39.929555530366
],
[
-75.1961171106279,
39.9296027527973
],
[
-75.1958461340834,
39.9297412994355
],
[
-75.1957354409218,
39.9297978951658
],
[
-75.1955852003374,
39.9298828325369
],
[
-75.1951055036312,
39.930147167337
],
[
-75.1942462640638,
39.9306078740485
],
[
-75.1937822104999,
39.930855091481
],
[
-75.1933823858371,
39.9310898626939
],
[
-75.1933548656683,
39.9311948150089
],
[
-75.1928187089445,
39.931125617192
],
[
-75.1923253164755,
39.9310636640957
],
[
-75.1917851821215,
39.9309916480667
],
[
-75.1910086109799,
39.9308839471823
],
[
-75.1902236835996,
39.9307884304894
],
[
-75.1886376846639,
39.9305920875599
],
[
-75.1880627323176,
39.9305190654534
],
[
-75.18707665703,
39.930396826961
],
[
-75.187029002311,
39.9303909187172
],
[
-75.1862720342299,
39.9302838354389
],
[
-75.1857745312505,
39.9302154675693
],
[
-75.1852421274703,
39.9301555472093
],
[
-75.1838240038975,
39.9299646753281
],
[
-75.1836027883988,
39.9299371846284
],
[
-75.1819471745078,
39.9297389780085
],
[
-75.1803701092924,
39.9295309800298
],
[
-75.1784468421615,
39.929280493246
],
[
-75.1768739422846,
39.9290709667485
],
[
-75.1763368504685,
39.9290091666097
],
[
-75.1758811665747,
39.9289502678858
],
[
-75.1752920379595,
39.9288763149054
],
[
-75.1737304821564,
39.9286697223334
],
[
-75.1731637214116,
39.9285970212073
],
[
-75.172701626313,
39.92852939147
],
[
-75.172157150331,
39.9284722843207
],
[
-75.1715978555222,
39.9283965959834
],
[
-75.1711395044439,
39.9283380605898
],
[
-75.1705952621971,
39.928274869812
],
[
-75.1700516016323,
39.9281963782927
],
[
-75.1695833377773,
39.9281421096483
],
[
-75.1689593661104,
39.9280447160122
],
[
-75.1692298228684,
39.9268153243347
],
[
-75.1694959424341,
39.9256056099416
],
[
-75.1695018955924,
39.9255408176007
],
[
-75.1697472578665,
39.9244184866744
],
[
-75.1700263393673,
39.9231470975214
],
[
-75.1703121740822,
39.9218949396106
],
[
-75.1705831975976,
39.9206627459933
],
[
-75.1708566429426,
39.9194194978447
],
[
-75.1711251422155,
39.918161478169
],
[
-75.171307361124,
39.9173176622846
],
[
-75.171397374949,
39.9168940486614
],
[
-75.1714251283579,
39.9167666990391
],
[
-75.1716972765057,
39.9154904261009
],
[
-75.1718194446867,
39.9148936318928
],
[
-75.1719281274228,
39.914382261294
],
[
-75.1718958931037,
39.9143244366914
],
[
-75.1718786733889,
39.914265269683
],
[
-75.1720630059046,
39.9138868244554
],
[
-75.1723916301974,
39.9131574205904
],
[
-75.1725149745052,
39.913041860298
],
[
-75.1726359316723,
39.9124436654655
],
[
-75.1726438063491,
39.9124047201023
],
[
-75.1726555473729,
39.9123404857893
],
[
-75.1726637354824,
39.9122956939233
],
[
-75.1727658791842,
39.9118513793851
],
[
-75.1729490520888,
39.9111758359081
],
[
-75.1730280284023,
39.9106261559539
],
[
-75.1730543219477,
39.9105223981378
],
[
-75.1732955825296,
39.9092922096677
],
[
-75.1735798606961,
39.9080345683935
],
[
-75.1738387632192,
39.9067873498511
],
[
-75.1741434348284,
39.905442725645
],
[
-75.1744758835858,
39.903854176737
],
[
-75.1746582622399,
39.9029826720893
],
[
-75.1752952089799,
39.900243780397
],
[
-75.1753270282952,
39.9001069522181
],
[
-75.1753370640553,
39.9000637974249
],
[
-75.1754855160981,
39.8993803334723
],
[
-75.175486459457,
39.8993772551176
],
[
-75.1755121627856,
39.8992802608352
],
[
-75.1755233090945,
39.8992382004863
],
[
-75.1755497287255,
39.8991664764522
],
[
-75.1755510868096,
39.8991305647102
],
[
-75.1755719852504,
39.8985782250839
],
[
-75.1755748151689,
39.8985034521313
],
[
-75.1755062061388,
39.8980214447089
],
[
-75.175636672082,
39.8973817851815
],
[
-75.175401453507,
39.8973516760933
],
[
-75.1738784840218,
39.8971567212566
],
[
-75.1738294126936,
39.897156532376
],
[
-75.1734048213053,
39.8971069544412
],
[
-75.1733564479073,
39.8971019331185
],
[
-75.1733080817667,
39.8970968814009
],
[
-75.1732597234998,
39.8970917910808
],
[
-75.1732113762758,
39.8970866509541
],
[
-75.1731630432376,
39.8970814505207
],
[
-75.1731147256907,
39.8970761794744
],
[
-75.1730664267779,
39.8970708273152
],
[
-75.1730181477339,
39.8970653856142
],
[
-75.1729698929735,
39.8970598424908
],
[
-75.1729216616428,
39.8970541882948
],
[
-75.1728734587487,
39.8970484116285
],
[
-75.1728252849252,
39.8970425038148
],
[
-75.1727771442651,
39.8970364534354
],
[
-75.1727290365238,
39.897030250854
],
[
-75.1726809607496,
39.8970238890019
],
[
-75.1726329142006,
39.8970173678178
],
[
-75.1725848939657,
39.8970106916991
],
[
-75.1725369023315,
39.8970038646909
],
[
-75.1724889422476,
39.8969968894433
],
[
-75.1724410117261,
39.8969897701398
],
[
-75.1723931142991,
39.8969825101487
],
[
-75.1723452486058,
39.8969751131978
],
[
-75.1722974150868,
39.8969675837603
],
[
-75.1722496164492,
39.8969599228365
],
[
-75.1722018539945,
39.8969521363285
],
[
-75.1721541257523,
39.8969442279504
],
[
-75.1721064358908,
39.8969362003798
],
[
-75.1720587830402,
39.8969280575795
],
[
-75.1720111686444,
39.896919801696
],
[
-75.1719635930725,
39.8969114390801
],
[
-75.171916058736,
39.8969029704907
],
[
-75.1718685638623,
39.8968944024654
],
[
-75.1718210968812,
39.8968857345089
],
[
-75.1717736360942,
39.896876959791
],
[
-75.1717261943571,
39.896868060983
],
[
-75.1716787821441,
39.8968590272801
],
[
-75.171631407803,
39.8968498396081
],
[
-75.17158408429,
39.8968404860435
],
[
-75.171536822284,
39.8968309503834
],
[
-75.1714896338894,
39.8968212190408
],
[
-75.1714425270338,
39.8968112759858
],
[
-75.1713955153186,
39.8968011083701
],
[
-75.1713486082127,
39.8967906997284
],
[
-75.1713018166465,
39.8967800352732
],
[
-75.1712551527068,
39.896769101887
],
[
-75.1712086255758,
39.8967578826285
],
[
-75.1711622464085,
39.8967463648293
],
[
-75.1711160514053,
39.896734454403
],
[
-75.1710700988289,
39.8967219419528
],
[
-75.1710243784124,
39.8967088730538
],
[
-75.1709788668442,
39.8966953075521
],
[
-75.170967053117,
39.8966916577222
],
[
-75.1709916509555,
39.8968963011648
],
[
-75.1709647974566,
39.8969807114618
],
[
-75.1709059759806,
39.8970765476468
],
[
-75.1708077675584,
39.8971714994148
],
[
-75.1707107089937,
39.8972361124537
],
[
-75.1705749566131,
39.8972816379209
],
[
-75.170447769597,
39.897309137606
],
[
-75.1695761611304,
39.8972166499648
],
[
-75.1671437201306,
39.8971193556049
],
[
-75.1669632360328,
39.8970970707677
],
[
-75.1666808108553,
39.8970603434108
],
[
-75.1665626520202,
39.8970576798341
],
[
-75.1662151332533,
39.8970741368231
],
[
-75.1658604300932,
39.8970722133142
],
[
-75.1637759594681,
39.8970011333392
],
[
-75.1632306091475,
39.896982530817
],
[
-75.1629317388299,
39.8969636409976
],
[
-75.1592906099629,
39.89651704792
],
[
-75.1582782798345,
39.8963939650155
],
[
-75.1560726912469,
39.8961376056987
],
[
-75.1541265962242,
39.8958992265726
],
[
-75.1527466337786,
39.8957253874131
],
[
-75.1525103051258,
39.8956956145837
],
[
-75.1488378044458,
39.8952479759696
],
[
-75.1453535854333,
39.8948257511839
],
[
-75.1449732360004,
39.8947778510158
],
[
-75.1353501573993,
39.8934587530026
],
[
-75.1380095067122,
39.8887023795586
],
[
-75.1398145543723,
39.8869721209741
],
[
-75.1404901511898,
39.886324486432
],
[
-75.1426444101623,
39.8844141221598
],
[
-75.1463068262458,
39.8833692544828
],
[
-75.1478883597844,
39.8832395505643
],
[
-75.1497086374658,
39.8830902399067
],
[
-75.155882566436,
39.8828739124298
],
[
-75.1673731363957,
39.8826881285651
],
[
-75.172704427166,
39.8823331542718
],
[
-75.1749788933157,
39.8822252714506
],
[
-75.1761015824686,
39.8821720043476
],
[
-75.1805969436346,
39.8815010136249
],
[
-75.1853912856911,
39.8810740345793
],
[
-75.1913941651824,
39.8792488552505
],
[
-75.1932515154305,
39.8781927029563
],
[
-75.1941914325481,
39.8799241308964
],
[
-75.1942342185835,
39.8819628182425
],
[
-75.1943526910336,
39.8841871573358
],
[
-75.1947458530337,
39.8871676189629
],
[
-75.1950071748463,
39.8890130658829
],
[
-75.1953786397618,
39.8908609662488
],
[
-75.1966432477873,
39.8921627298621
],
[
-75.1971693551037,
39.8924600671729
],
[
-75.1973501330361,
39.8925622361696
],
[
-75.1979204814168,
39.8928845721941
],
[
-75.2004108153049,
39.8935909366223
],
[
-75.2022017380447,
39.8938430247182
],
[
-75.2046751987608,
39.8942659030134
],
[
-75.2064335196325,
39.8948992738097
],
[
-75.2081184493951,
39.895530987958
],
[
-75.2095395509341,
39.8963407924869
],
[
-75.2106334320495,
39.8970584233013
],
[
-75.2115739305084,
39.8978442609409
],
[
-75.21211219285,
39.8982939968276
],
[
-75.2135848910551,
39.8999397897849
],
[
-75.2140536534036,
39.9006718544829
],
[
-75.214347850889,
39.9012361400572
],
[
-75.2146880815532,
39.9018887086462
],
[
-75.2151131200966,
39.9037943201612
],
[
-75.2154592544245,
39.9055991301944
],
[
-75.2156981057631,
39.907571375196
],
[
-75.2156852850742,
39.9089012703199
],
[
-75.2153095629376,
39.9096146564538
],
[
-75.2146474480173,
39.9101235959976
],
[
-75.2135630312364,
39.9106231903327
],
[
-75.2122806459482,
39.910764621773
],
[
-75.2094930225613,
39.9106179777223
],
[
-75.2084821429923,
39.9106238739477
],
[
-75.2072177696083,
39.9110203641382
],
[
-75.2063599603972,
39.9113551069667
],
[
-75.205458896246,
39.9122617968932
],
[
-75.2054243056553,
39.9122966027351
],
[
-75.2049844960005,
39.9129278163134
],
[
-75.2047057819539,
39.9133278187654
],
[
-75.2041104718959,
39.9145032749498
],
[
-75.2035998885241,
39.9156240064877
],
[
-75.2024654985794,
39.9174525738762
],
[
-75.2019462130935,
39.9185589555749
],
[
-75.2018462646849,
39.9192642788959
],
[
-75.201996165711,
39.9197899868379
],
[
-75.2020411801917,
39.9199478529091
],
[
-75.2026233136276,
39.9205975768425
],
[
-75.2037551200125,
39.9210472435237
],
[
-75.2052425405608,
39.9210802638522
],
[
-75.2064802832471,
39.9209096149427
],
[
-75.2077127331762,
39.9208803429169
],
[
-75.2088848085288,
39.9209912301388
],
[
-75.2099430083864,
39.9211986368318
],
[
-75.2111183445074,
39.9219605117532
],
[
-75.2119560900908,
39.922658299079
],
[
-75.2123693723323,
39.9234032890701
],
[
-75.2125596546616,
39.9242140985274
],
[
-75.2124106456783,
39.9253570659052
],
[
-75.2124051326175,
39.925399349915
],
[
-75.2121488621601,
39.92635593548
],
[
-75.2115779451186,
39.927616875512
],
[
-75.2111621779013,
39.928414269071
],
[
-75.2105248338869,
39.9297303368913
],
[
-75.2096928376641,
39.9308439783657
],
[
-75.2089039568923,
39.931711877368
],
[
-75.2075745526257,
39.9331743807765
],
[
-75.2064404824803,
39.9343519684425
],
[
-75.2064402176577,
39.9343522446844
],
[
-75.2063464836786,
39.9332717519069
],
[
-75.2039005160113,
39.9328540700265
],
[
-75.2023950770918,
39.9325149211206
],
[
-75.200479210142,
39.9321087132371
],
[
-75.1996434483681,
39.9319088885596
],
[
-75.1995889430579,
39.9318162677999
],
[
-75.198973354577,
39.931168532093
],
[
-75.1984402906542,
39.9305822087979
],
[
-75.198177203819,
39.9303011980062
],
[
-75.1978510801104,
39.9299981983807
],
[
-75.1975796435394,
39.9297460063365
],
[
-75.1972382872565,
39.9294288475177
]
]
]
]
},
"properties": {
"area": "",
"location": "24th St. & Wolf St.",
"perimeter": "81903.64182498",
"dist_numc": "01",
"sum_area": "",
"area_sqmi": "216350124.153",
"district_i": "",
"objectid": "321",
"globalid": "c040618c-ac93-4b22-b174-0ea08e0f805d",
"district_": "1",
"_feature_id": "1",
"_feature_id_string": "Police_Districts.1",
"dist_num": "1",
"div_code": "SPD",
"phone": "686-3010",
"incidents": 11553
}
},
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.1343640909741,
39.9529315410666
],
[
-75.1352375679666,
39.9506957263754
],
[
-75.1352409996735,
39.9506869425429
],
[
-75.1357608269098,
39.9473438377478
],
[
-75.1359585764891,
39.9460719866288
],
[
-75.1362705639478,
39.943291228367
],
[
-75.1363107422028,
39.9429331015442
],
[
-75.1363838469747,
39.941032342361
],
[
-75.1438500445515,
39.9419421221552
],
[
-75.145256035491,
39.9421247094719
],
[
-75.145451838511,
39.9421693695802
],
[
-75.1456455412971,
39.9422266893163
],
[
-75.1463574480417,
39.9423125919181
],
[
-75.1473847813795,
39.9424461318617
],
[
-75.1489491137437,
39.9426363339022
],
[
-75.1505408378375,
39.9428320430715
],
[
-75.1509627118428,
39.9428880919811
],
[
-75.1513331167955,
39.9429303252591
],
[
-75.15212059893,
39.9430338502745
],
[
-75.1536965771699,
39.9432276249154
],
[
-75.1545759497598,
39.9433377279877
],
[
-75.1552699035365,
39.9434243742877
],
[
-75.1558274222445,
39.943495268386
],
[
-75.1568438238429,
39.9436245063821
],
[
-75.1576215905614,
39.9437267731627
],
[
-75.1584171475428,
39.9438237147881
],
[
-75.1599871691717,
39.9440183143435
],
[
-75.1603973354028,
39.9440633926358
],
[
-75.1607731718267,
39.9441139647889
],
[
-75.1615578133786,
39.944205484946
],
[
-75.1623509320677,
39.9443081959367
],
[
-75.1626891029504,
39.9443537464652
],
[
-75.1631391544734,
39.944397773075
],
[
-75.1641574794127,
39.9445324768539
],
[
-75.1645265475363,
39.9445788591674
],
[
-75.1651834174078,
39.9446531046255
],
[
-75.1652036222648,
39.9446563884154
],
[
-75.1653430290725,
39.9446736508429
],
[
-75.1651556423412,
39.9455662872908
],
[
-75.1649398714476,
39.9466463539202
],
[
-75.164847449984,
39.9470083899881
],
[
-75.1647542839953,
39.9474339376971
],
[
-75.1645814383406,
39.9482250778353
],
[
-75.164340325893,
39.9493551340743
],
[
-75.1642616667718,
39.9497469425576
],
[
-75.1641760904829,
39.9501223296518
],
[
-75.1640133490244,
39.9508859170341
],
[
-75.1638730357765,
39.9515046024765
],
[
-75.1638803345851,
39.9515294429352
],
[
-75.1639189019318,
39.951573679586
],
[
-75.1640264365517,
39.9516372209818
],
[
-75.1639744411654,
39.9516520196997
],
[
-75.163900432651,
39.9516731559467
],
[
-75.1636472487511,
39.9516392770827
],
[
-75.1635184564677,
39.9516001219741
],
[
-75.1629835816769,
39.9515371192872
],
[
-75.1628790867806,
39.9515335900286
],
[
-75.1627211395912,
39.9516694118103
],
[
-75.1626085671435,
39.9522553604122
],
[
-75.1625913170383,
39.9523718427068
],
[
-75.1625457535359,
39.9524395273744
],
[
-75.1624418939466,
39.9529158032526
],
[
-75.1623815064303,
39.9532381658346
],
[
-75.16320606373,
39.9533427678918
],
[
-75.1633312206521,
39.9533391945633
],
[
-75.1636629198861,
39.9533845346541
],
[
-75.1639045685506,
39.9534627252985
],
[
-75.1636960014064,
39.9534993590474
],
[
-75.163555765219,
39.9535230061522
],
[
-75.1634851361741,
39.9535482227752
],
[
-75.1633955758822,
39.9536132247028
],
[
-75.1632174236741,
39.9544338822297
],
[
-75.163017593529,
39.9553543801531
],
[
-75.1628211536589,
39.9562592333644
],
[
-75.1625070278268,
39.9577061317511
],
[
-75.1624737273891,
39.957851085761
],
[
-75.162449536684,
39.9579563809114
],
[
-75.1624170966892,
39.9580975789454
],
[
-75.1623161846233,
39.958571158876
],
[
-75.1622562004975,
39.958852657578
],
[
-75.1620934804956,
39.959616270539
],
[
-75.1616518462036,
39.9616886951119
],
[
-75.1615301611711,
39.962224100011
],
[
-75.1613832284341,
39.9623267398933
],
[
-75.1613858767264,
39.9624833223077
],
[
-75.1613052088389,
39.9629031017147
],
[
-75.161263134278,
39.963135940509
],
[
-75.1611908218492,
39.9634316910834
],
[
-75.1611116767055,
39.9637980251719
],
[
-75.1610556352274,
39.9640500084158
],
[
-75.1609605404239,
39.9644787403403
],
[
-75.1608074954025,
39.9651681979259
],
[
-75.1606799687179,
39.9657798589145
],
[
-75.1605639064122,
39.9663033692317
],
[
-75.1604850226223,
39.9666795206039
],
[
-75.160408661276,
39.9670393558433
],
[
-75.160215948562,
39.9678977111663
],
[
-75.1601618150251,
39.9681863734527
],
[
-75.1600749820875,
39.9686088965476
],
[
-75.1599789216228,
39.9690043486562
],
[
-75.1597049183992,
39.9702111632246
],
[
-75.1589081075561,
39.9700152067272
],
[
-75.157622193457,
39.9696972425944
],
[
-75.157185080488,
39.969589639084
],
[
-75.1560868754384,
39.9693192839684
],
[
-75.1553305236438,
39.9691327858481
],
[
-75.1545512622323,
39.9689406322544
],
[
-75.153020858912,
39.9685583347906
],
[
-75.1520023257905,
39.9683072328534
],
[
-75.1515028327835,
39.9681918482058
],
[
-75.1514264363959,
39.968176670253
],
[
-75.1509751795762,
39.9680870190319
],
[
-75.1505172703595,
39.9679804290226
],
[
-75.1495601273277,
39.9677416162801
],
[
-75.1486918633618,
39.9675257310516
],
[
-75.1479121209915,
39.9673343714512
],
[
-75.1471494657406,
39.9671359020216
],
[
-75.1465064033586,
39.9668508775241
],
[
-75.1458929402531,
39.9665562162835
],
[
-75.1457594505139,
39.966501981478
],
[
-75.1449076957587,
39.9661046614445
],
[
-75.1445879540358,
39.9659535311875
],
[
-75.1440041667641,
39.9656790851887
],
[
-75.1433791459495,
39.9653889313474
],
[
-75.1425312879274,
39.9649945116981
],
[
-75.1416330158451,
39.9645817899715
],
[
-75.1407080431543,
39.9641477611653
],
[
-75.1399335903288,
39.9637858375789
],
[
-75.1397565215586,
39.9637003744319
],
[
-75.1393383098191,
39.9635096472266
],
[
-75.1384367471922,
39.9630925395596
],
[
-75.1380845266798,
39.9629456977007
],
[
-75.1371724582012,
39.9628289001451
],
[
-75.1367585369021,
39.9627756220083
],
[
-75.1362981396846,
39.9624606945528
],
[
-75.1357041628001,
39.9620560449853
],
[
-75.1307049663875,
39.9590876771116
],
[
-75.1315182607624,
39.9585393175211
],
[
-75.1322575013737,
39.9580408769823
],
[
-75.133700504581,
39.9546299968315
],
[
-75.1337149917618,
39.954592920817
],
[
-75.1343640909741,
39.9529315410666
]
]
]
]
},
"properties": {
"area": "",
"location": "11th St. & Winter St.",
"perimeter": "34655.32085552",
"dist_numc": "06",
"sum_area": "",
"area_sqmi": "69279267.8986235",
"district_i": "",
"objectid": "325",
"globalid": "e0afa680-ecd3-470e-b0f8-59b70d4f72b5",
"district_": "6",
"_feature_id": "5",
"_feature_id_string": "Police_Districts.5",
"dist_num": "6",
"div_code": "CPD",
"phone": "686-3060",
"incidents": 23428
}
},
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.0544420852857,
40.044532749252
],
[
-75.054816199384,
40.0441717116827
],
[
-75.0551367855513,
40.0438732632911
],
[
-75.0557803963371,
40.0433170084855
],
[
-75.056639023089,
40.0425628530419
],
[
-75.0575508212901,
40.0417474973931
],
[
-75.0577254454732,
40.0415954816841
],
[
-75.0588784188401,
40.0405128703939
],
[
-75.0600377460445,
40.0394419352693
],
[
-75.0615421887615,
40.03801458563
],
[
-75.0619413666351,
40.0376760169395
],
[
-75.0622117346254,
40.0374728060267
],
[
-75.0625790349977,
40.0372470893658
],
[
-75.0628465506566,
40.0371223614393
],
[
-75.0632258768603,
40.0369311769751
],
[
-75.0635281426699,
40.0368315013287
],
[
-75.0644463638576,
40.0366064154322
],
[
-75.0651565654561,
40.0364539747365
],
[
-75.0661857671772,
40.0362330541254
],
[
-75.0676014502395,
40.0358974180957
],
[
-75.070004174088,
40.0353292922473
],
[
-75.0709192770882,
40.0351124498502
],
[
-75.0710388096372,
40.0350986975397
],
[
-75.0748789871334,
40.0342191620529
],
[
-75.0781270192177,
40.033474791267
],
[
-75.0804118284862,
40.0329457387287
],
[
-75.0814611001729,
40.0327042636474
],
[
-75.0824447520593,
40.0324743512307
],
[
-75.0830115932812,
40.0323204583408
],
[
-75.0835610928216,
40.0321578663833
],
[
-75.0839106945817,
40.0320505991957
],
[
-75.0841356435505,
40.0319738047757
],
[
-75.0842925253438,
40.0319202477342
],
[
-75.084727482448,
40.031761901501
],
[
-75.084728369882,
40.0317615589262
],
[
-75.0851998902206,
40.0315798093355
],
[
-75.0853838094434,
40.0315001702013
],
[
-75.0858523339934,
40.0312972891427
],
[
-75.0861967867179,
40.0311376068609
],
[
-75.0867240323333,
40.0308837132716
],
[
-75.0881326614229,
40.0300944943167
],
[
-75.0891656270279,
40.0295558082356
],
[
-75.0898742174347,
40.0291513318514
],
[
-75.0903480588912,
40.0289018131986
],
[
-75.090763159547,
40.0286725722949
],
[
-75.0931944688518,
40.0273295021895
],
[
-75.0941295198728,
40.0268123042349
],
[
-75.0946244070847,
40.0266103164628
],
[
-75.0950355892208,
40.0265146562784
],
[
-75.09543636108,
40.0264471466773
],
[
-75.0958803731878,
40.0264406839745
],
[
-75.0963088631731,
40.0264813076485
],
[
-75.0967360092774,
40.026570154456
],
[
-75.0974635323062,
40.0268611416632
],
[
-75.098810890517,
40.0277485184978
],
[
-75.1005930284431,
40.0289163950569
],
[
-75.1012839019445,
40.0293706705904
],
[
-75.101808181405,
40.0296284151289
],
[
-75.1021593775543,
40.0297573263852
],
[
-75.1025383129916,
40.0298466043566
],
[
-75.1030713123066,
40.0299044791549
],
[
-75.1035981303699,
40.0299394927464
],
[
-75.1039660739541,
40.0299076991822
],
[
-75.104308738791,
40.0298550890365
],
[
-75.1046045550625,
40.0297895136017
],
[
-75.1046158721685,
40.0297860777806
],
[
-75.1051346887031,
40.0296285574808
],
[
-75.1061346762771,
40.029299973162
],
[
-75.107254652401,
40.0289501241729
],
[
-75.1100416298148,
40.0280567768838
],
[
-75.1113797603706,
40.0276288070466
],
[
-75.1119008379511,
40.0275084488409
],
[
-75.112393370647,
40.0274138994463
],
[
-75.1128850841925,
40.027340190308
],
[
-75.1128918637638,
40.027465852313
],
[
-75.1128919062567,
40.0274666460998
],
[
-75.1128863950594,
40.0276085010674
],
[
-75.1128279594312,
40.0276992553957
],
[
-75.1127614897396,
40.0277399394192
],
[
-75.112629290751,
40.0278021378626
],
[
-75.1124208691206,
40.0278990407808
],
[
-75.1122888194235,
40.0279574050692
],
[
-75.1121224559578,
40.027999631744
],
[
-75.1120171284065,
40.0280125616439
],
[
-75.1118870148504,
40.0280210848658
],
[
-75.1117665793205,
40.0280375051559
],
[
-75.111654179333,
40.0281039947891
],
[
-75.1115043332238,
40.0282348586258
],
[
-75.1113949831848,
40.02835130366
],
[
-75.1112901704973,
40.0284793644732
],
[
-75.1112010656816,
40.0285885996233
],
[
-75.1110856824841,
40.0287317669145
],
[
-75.1110166746156,
40.028837626289
],
[
-75.1109650819731,
40.0290091202254
],
[
-75.1109350772332,
40.0291389009474
],
[
-75.1109012707858,
40.0293664453205
],
[
-75.1108847356828,
40.0295349071674
],
[
-75.1109198633655,
40.0296585099634
],
[
-75.1109974913103,
40.0298444851483
],
[
-75.111048028627,
40.0299569296639
],
[
-75.1111197753435,
40.0301657942577
],
[
-75.1111397923748,
40.0302928853191
],
[
-75.1111320399607,
40.0304922489938
],
[
-75.111138953409,
40.0306996233602
],
[
-75.1111551689412,
40.030924479947
],
[
-75.1111476474877,
40.0309895417544
],
[
-75.1111326607244,
40.0310519535246
],
[
-75.1111119087375,
40.0311383765705
],
[
-75.1110858476915,
40.0312951079281
],
[
-75.1110671593088,
40.0313906122055
],
[
-75.1110617918333,
40.0315286332507
],
[
-75.1110517358617,
40.0316588714457
],
[
-75.1110203884556,
40.0318231552673
],
[
-75.1109885926787,
40.0319989420445
],
[
-75.1109823304948,
40.0321599662386
],
[
-75.1109355740612,
40.0323354089995
],
[
-75.1108825600341,
40.0325433252677
],
[
-75.110862447629,
40.0328038027997
],
[
-75.1108340814077,
40.0328914095429
],
[
-75.1107860620592,
40.0329708895408
],
[
-75.1107421353227,
40.0330734884554
],
[
-75.1107334216561,
40.0331692212068
],
[
-75.110757680681,
40.0333155977081
],
[
-75.1108171510066,
40.0334551082176
],
[
-75.1108392160885,
40.0335060263085
],
[
-75.1108675410485,
40.0335713856216
],
[
-75.1109639311538,
40.0337884913562
],
[
-75.1110612312436,
40.0339970959449
],
[
-75.1111113833269,
40.0341046212244
],
[
-75.1111859677235,
40.0342406415654
],
[
-75.1113204031828,
40.0343780371526
],
[
-75.1114793306006,
40.0345275068457
],
[
-75.1116442908105,
40.0346502532722
],
[
-75.111847957642,
40.0348045885291
],
[
-75.1120024958753,
40.034938606633
],
[
-75.1121106555573,
40.0351099332539
],
[
-75.1121783912285,
40.0352937614558
],
[
-75.1122316873807,
40.0354638285933
],
[
-75.1122965978423,
40.0355919510659
],
[
-75.112350788026,
40.0357390142647
],
[
-75.1124654262949,
40.0358721165302
],
[
-75.1125947316121,
40.0360132296421
],
[
-75.1127193469649,
40.036146559793
],
[
-75.1128634671665,
40.0362918499545
],
[
-75.113057316376,
40.0364421195536
],
[
-75.1131626214323,
40.0365121233958
],
[
-75.1132665780819,
40.0365812300796
],
[
-75.1133817412574,
40.0367009121346
],
[
-75.1134969808445,
40.0368186770994
],
[
-75.1136157183805,
40.0369748961339
],
[
-75.1137435378926,
40.0371543464653
],
[
-75.113814035621,
40.0372672474003
],
[
-75.1138642846699,
40.0373873579569
],
[
-75.1139236166321,
40.0375307006291
],
[
-75.1140237429895,
40.0379090567954
],
[
-75.1140495003651,
40.0380170933268
],
[
-75.1140902219853,
40.038125472798
],
[
-75.1141048123753,
40.0382639513562
],
[
-75.1141001948907,
40.0383828016934
],
[
-75.1141065962538,
40.0384750449596
],
[
-75.114128707431,
40.0385484613281
],
[
-75.114204344859,
40.0386576427156
],
[
-75.1142503521199,
40.0387584687691
],
[
-75.1142517659262,
40.038850597568
],
[
-75.1142810230138,
40.0389970870528
],
[
-75.1143490722164,
40.0390837296686
],
[
-75.1144599612755,
40.0392383508597
],
[
-75.1144616699949,
40.039244433277
],
[
-75.1145318920944,
40.0394943810851
],
[
-75.1145522299721,
40.03959409534
],
[
-75.1145404063909,
40.0396880625085
],
[
-75.1145360189055,
40.0398010473289
],
[
-75.1145333366692,
40.0398700936894
],
[
-75.1144641042218,
40.0399690254831
],
[
-75.1143800014779,
40.0400299219582
],
[
-75.1142170351965,
40.0402272235701
],
[
-75.1141206200311,
40.0403946395471
],
[
-75.1140098227065,
40.0405114654592
],
[
-75.113923524333,
40.0406288530504
],
[
-75.1138533145369,
40.0407528916982
],
[
-75.1137826170257,
40.0408894854506
],
[
-75.1137275188945,
40.0410452844653
],
[
-75.1136491427884,
40.0411691365159
],
[
-75.1135957530836,
40.0412809970923
],
[
-75.1134918998139,
40.0414293941369
],
[
-75.1133202730401,
40.0416390605066
],
[
-75.1130572265292,
40.0418874651
],
[
-75.1129048581757,
40.0420221832005
],
[
-75.1128373291217,
40.0420771751389
],
[
-75.1127877041057,
40.0421343305076
],
[
-75.1127517582745,
40.0421757315937
],
[
-75.1127144566318,
40.0422942435259
],
[
-75.1126437537148,
40.0424308360627
],
[
-75.1125718318582,
40.0425988132524
],
[
-75.1125345293544,
40.0427173253515
],
[
-75.1124702855888,
40.0428980430115
],
[
-75.1123702023576,
40.0431596122036
],
[
-75.1123336308842,
40.0432592935214
],
[
-75.1122884052688,
40.0433713405655
],
[
-75.1121939320885,
40.0434885390393
],
[
-75.1121073830344,
40.0436122031746
],
[
-75.11198743298,
40.0437539460545
],
[
-75.1118528572523,
40.0438513764747
],
[
-75.1117348580556,
40.0439429046528
],
[
-75.1115673690364,
40.0440458611577
],
[
-75.1113150365753,
40.0442285416316
],
[
-75.11118874783,
40.0443230188579
],
[
-75.1111351087034,
40.0444411550439
],
[
-75.1111151121194,
40.0445349346787
],
[
-75.1111169321814,
40.0446983225308
],
[
-75.1111523966724,
40.0448373531766
],
[
-75.1111868857967,
40.0450014910357
],
[
-75.1112467199272,
40.0453546886368
],
[
-75.1112711999285,
40.0457761815567
],
[
-75.1112739971421,
40.0459144614952
],
[
-75.111294348564,
40.0460217317467
],
[
-75.1113233561135,
40.0461166370697
],
[
-75.1113209153905,
40.0461794061427
],
[
-75.1112858047854,
40.0462414254706
],
[
-75.1112734879679,
40.0463479448313
],
[
-75.1112621475241,
40.0464293572217
],
[
-75.1112414187976,
40.0465419678135
],
[
-75.1112211789012,
40.0466420230533
],
[
-75.1111601023748,
40.0467411409132
],
[
-75.1110651899555,
40.0468226858453
],
[
-75.1094336968275,
40.0458833885072
],
[
-75.1092664475744,
40.0457870963821
],
[
-75.1089074987122,
40.046136401778
],
[
-75.1090471004427,
40.0462188812125
],
[
-75.1081053372552,
40.047175902745
],
[
-75.1082139446051,
40.0472393778905
],
[
-75.1074293587694,
40.0480307996554
],
[
-75.1076469314574,
40.0481486096786
],
[
-75.1074928012527,
40.048337142934
],
[
-75.1063131571737,
40.0492997989449
],
[
-75.1007529762861,
40.0525970431888
],
[
-75.1007502649536,
40.0525987015976
],
[
-75.100166236275,
40.0529560397988
],
[
-75.0998320090417,
40.0531619094841
],
[
-75.0993770184726,
40.0533081020822
],
[
-75.0991120857497,
40.0535715622997
],
[
-75.0988041719172,
40.0537230594169
],
[
-75.0984650056864,
40.0538969216499
],
[
-75.0976672208687,
40.0543745680632
],
[
-75.0974894478914,
40.0544880428792
],
[
-75.0965066264234,
40.0551801487214
],
[
-75.0957591706861,
40.0556387069017
],
[
-75.0951209569319,
40.0559458947507
],
[
-75.0946823293851,
40.0563788204346
],
[
-75.0936199386171,
40.0574273689592
],
[
-75.0936174700292,
40.0574298059031
],
[
-75.0927422533375,
40.0583074472429
],
[
-75.0920766203866,
40.0589749059012
],
[
-75.0897646130822,
40.0612943040385
],
[
-75.0897654178778,
40.0613019637726
],
[
-75.0890044674479,
40.0620603361781
],
[
-75.0882412839434,
40.0628209124659
],
[
-75.087466144733,
40.0635933809097
],
[
-75.0878986271781,
40.0638450319304
],
[
-75.0887666996908,
40.0643501292874
],
[
-75.0894477862684,
40.0647455853627
],
[
-75.0903721974857,
40.0652842711202
],
[
-75.0919602176113,
40.0662081958287
],
[
-75.0932461057671,
40.0669563030184
],
[
-75.0967398856102,
40.0689887667676
],
[
-75.0940442147127,
40.0716413665082
],
[
-75.0938551176298,
40.0718278416621
],
[
-75.0938221648092,
40.0718603377845
],
[
-75.0899622843913,
40.0756692409476
],
[
-75.0895215621178,
40.0761041077937
],
[
-75.0891923644137,
40.0764168560796
],
[
-75.0879399224723,
40.0776066886993
],
[
-75.0869493055224,
40.0786685725666
],
[
-75.0868804952757,
40.078612746673
],
[
-75.0864505330532,
40.0782639131334
],
[
-75.0861249225219,
40.0779817540376
],
[
-75.0852464391048,
40.0771690635349
],
[
-75.0833959859666,
40.0767689283999
],
[
-75.0833515366342,
40.0767586693367
],
[
-75.083222821576,
40.0767289617347
],
[
-75.0825028306868,
40.0765700624101
],
[
-75.081606321148,
40.0763373682272
],
[
-75.0809178359207,
40.0758997708611
],
[
-75.0801608231587,
40.0754640326602
],
[
-75.0795828990826,
40.0751007248377
],
[
-75.0791752049685,
40.0748666915246
],
[
-75.0783140845559,
40.0743679637815
],
[
-75.0775972629441,
40.0739273167373
],
[
-75.0759018106928,
40.0728938391579
],
[
-75.0740317418084,
40.0719921127075
],
[
-75.0731631095604,
40.0715754166582
],
[
-75.0723004528221,
40.0711502421776
],
[
-75.0714188920097,
40.0707212131837
],
[
-75.0704139736378,
40.0702297029034
],
[
-75.0689166024501,
40.0695111476898
],
[
-75.0678410190519,
40.0689683968862
],
[
-75.0678376450711,
40.0689666946692
],
[
-75.06735813147,
40.0687364288939
],
[
-75.0658483825614,
40.0678401760565
],
[
-75.0640597890058,
40.0667783316103
],
[
-75.0630424111418,
40.0661528636848
],
[
-75.0625592350677,
40.0658466906671
],
[
-75.0621830781972,
40.0656127756337
],
[
-75.0613381992497,
40.0650658645984
],
[
-75.0596264514698,
40.063983457683
],
[
-75.0576997527423,
40.0627968871914
],
[
-75.056147922097,
40.0618414724124
],
[
-75.0541861713475,
40.0607270546894
],
[
-75.0524098768796,
40.0597486721695
],
[
-75.0520247736904,
40.0595447680394
],
[
-75.0505843044286,
40.0587786445581
],
[
-75.0485667241754,
40.0576775143457
],
[
-75.0485539806687,
40.0576596595125
],
[
-75.0481479520088,
40.0574475148462
],
[
-75.0478070684806,
40.0572567662323
],
[
-75.0474050848908,
40.0570406638496
],
[
-75.047393155983,
40.0570396965916
],
[
-75.0470059156753,
40.0568271930946
],
[
-75.0468585472575,
40.0567470113691
],
[
-75.0482066147738,
40.0553775103077
],
[
-75.0492852757867,
40.0542824378367
],
[
-75.0493302239266,
40.0542359476289
],
[
-75.0496202430404,
40.0539554993777
],
[
-75.0500428044573,
40.0535399596548
],
[
-75.0504634413347,
40.0530882715706
],
[
-75.0506442525996,
40.0528449740216
],
[
-75.0508850559783,
40.0524432095583
],
[
-75.0510546371199,
40.052060401119
],
[
-75.0512028573643,
40.0514553300711
],
[
-75.0513593284399,
40.0495598135984
],
[
-75.0514108605019,
40.0489254352193
],
[
-75.0514535150387,
40.0483591410871
],
[
-75.0515722444974,
40.04782042119
],
[
-75.0517263541682,
40.0473900729337
],
[
-75.0519809052011,
40.0469468108547
],
[
-75.0522883140567,
40.0465507686543
],
[
-75.0528291440465,
40.0460264602528
],
[
-75.054436434783,
40.0445379806222
],
[
-75.0544420852857,
40.044532749252
]
]
]
]
},
"properties": {
"area": "",
"location": "Harbison Ave. & Levick St.",
"perimeter": "63587.3693993",
"dist_numc": "02",
"sum_area": "",
"area_sqmi": "192346097.032",
"district_i": "",
"objectid": "322",
"globalid": "95200c4a-2617-47c2-93f1-07d6359a92e9",
"district_": "2",
"_feature_id": "2",
"_feature_id_string": "Police_Districts.2",
"dist_num": "2",
"div_code": "NEPD",
"phone": "686-3020",
"incidents": 32340
}
},
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.1320514423505,
39.8993134634826
],
[
-75.1346986848179,
39.894623831452
],
[
-75.1353501573993,
39.8934587530026
],
[
-75.1449732360004,
39.8947778510158
],
[
-75.1453535854333,
39.8948257511839
],
[
-75.1488378044458,
39.8952479759696
],
[
-75.1495048646349,
39.8953292924085
],
[
-75.1502390308802,
39.8954187847159
],
[
-75.1510870863417,
39.8955221531619
],
[
-75.151769475332,
39.8956053253516
],
[
-75.1525103051258,
39.8956956145837
],
[
-75.1527466337786,
39.8957253874131
],
[
-75.1531774748013,
39.8957796631389
],
[
-75.1552334876523,
39.8960348150074
],
[
-75.1573740859801,
39.8962888749412
],
[
-75.1582782798345,
39.8963939650155
],
[
-75.1592906099629,
39.89651704792
],
[
-75.1601913966035,
39.8966275429833
],
[
-75.162248075229,
39.8968797979098
],
[
-75.1632306091475,
39.896982530817
],
[
-75.1637759594681,
39.8970011333392
],
[
-75.1657819558498,
39.8970695371223
],
[
-75.1662975259538,
39.897070235422
],
[
-75.1665626520202,
39.8970576798341
],
[
-75.1668681573379,
39.897084706739
],
[
-75.1669632360328,
39.8970970707677
],
[
-75.1671437201306,
39.8971193556049
],
[
-75.1674207667514,
39.8971304390696
],
[
-75.1680035677209,
39.8971537542991
],
[
-75.1687855853711,
39.8971850335404
],
[
-75.169425804578,
39.8972106375676
],
[
-75.1695761611304,
39.8972166499648
],
[
-75.1698734820151,
39.8972482000142
],
[
-75.1701603480411,
39.8972786399003
],
[
-75.1703446509664,
39.8972981961736
],
[
-75.170447769597,
39.897309137606
],
[
-75.1705749566131,
39.8972816379209
],
[
-75.1707107089937,
39.8972361124537
],
[
-75.1708077675584,
39.8971714994148
],
[
-75.1709059759806,
39.8970765476468
],
[
-75.1709647974566,
39.8969807114618
],
[
-75.1709916509555,
39.8968963011648
],
[
-75.1709777754807,
39.8967808636234
],
[
-75.170967053117,
39.8966916577222
],
[
-75.1712086255758,
39.8967578826285
],
[
-75.1717736360942,
39.896876959791
],
[
-75.171916058736,
39.8969029704907
],
[
-75.1722018539945,
39.8969521363285
],
[
-75.1724410117261,
39.8969897701398
],
[
-75.1727290365238,
39.897030250854
],
[
-75.1729698929735,
39.8970598424908
],
[
-75.1732597234998,
39.8970917910808
],
[
-75.1735766832215,
39.8971270228707
],
[
-75.1738499563695,
39.8971566116798
],
[
-75.1740293802283,
39.897176038966
],
[
-75.1745721352926,
39.8972455185568
],
[
-75.175401453507,
39.8973516760933
],
[
-75.175636672082,
39.8973817851815
],
[
-75.1755062061388,
39.8980214447089
],
[
-75.1755748151689,
39.8985034521313
],
[
-75.1755719852504,
39.8985782250839
],
[
-75.1755510868096,
39.8991305647102
],
[
-75.1755497287255,
39.8991664764522
],
[
-75.1755233090945,
39.8992382004863
],
[
-75.1755121627856,
39.8992802608352
],
[
-75.175486459457,
39.8993772551176
],
[
-75.1754855160981,
39.8993803334723
],
[
-75.1753370640553,
39.9000637974249
],
[
-75.1753270282952,
39.9001069522181
],
[
-75.1752952089799,
39.900243780397
],
[
-75.175257864994,
39.9004043696304
],
[
-75.1748267726356,
39.9022580921098
],
[
-75.1746582622399,
39.9029826720893
],
[
-75.1745226444187,
39.9036307280595
],
[
-75.1744758835858,
39.903854176737
],
[
-75.1744039437728,
39.9041979367154
],
[
-75.1743357489814,
39.9045237985229
],
[
-75.1742748773136,
39.9048146619969
],
[
-75.1742185027384,
39.9050840295236
],
[
-75.1741434348284,
39.905442725645
],
[
-75.1740320249863,
39.9059344253068
],
[
-75.1739566959712,
39.906266874239
],
[
-75.1738387632192,
39.9067873498511
],
[
-75.1737600520613,
39.9071665299195
],
[
-75.1736673887977,
39.9076129225413
],
[
-75.1735798606961,
39.9080345683935
],
[
-75.1734716190551,
39.9085134293265
],
[
-75.1732955825296,
39.9092922096677
],
[
-75.1731008125195,
39.9102853438272
],
[
-75.1730543219477,
39.9105223981378
],
[
-75.1730280284023,
39.9106261559539
],
[
-75.1729490520888,
39.9111758359081
],
[
-75.1728590784243,
39.9115076634148
],
[
-75.1727658791842,
39.9118513793851
],
[
-75.1725149745052,
39.913041860298
],
[
-75.1723916301974,
39.9131574205904
],
[
-75.1720630059046,
39.9138868244554
],
[
-75.1718786733889,
39.914265269683
],
[
-75.1719281274228,
39.914382261294
],
[
-75.1718194446867,
39.9148936318928
],
[
-75.1717672131022,
39.915148781463
],
[
-75.1716972765057,
39.9154904261009
],
[
-75.1715705333118,
39.916084808239
],
[
-75.1714251283579,
39.9167666990391
],
[
-75.171401526209,
39.9168750044685
],
[
-75.171397374949,
39.9168940486614
],
[
-75.1713856223858,
39.9169493584238
],
[
-75.171307361124,
39.9173176622846
],
[
-75.1712858644832,
39.9174172090049
],
[
-75.1711251422155,
39.918161478169
],
[
-75.1710949464707,
39.9183029581378
],
[
-75.1708566429426,
39.9194194978447
],
[
-75.1705831975976,
39.9206627459933
],
[
-75.1705662671876,
39.9207397220219
],
[
-75.1703121740822,
39.9218949396106
],
[
-75.1702672171937,
39.9220918862336
],
[
-75.1700263393673,
39.9231470975214
],
[
-75.1700093422456,
39.9232245281744
],
[
-75.1697472578665,
39.9244184866744
],
[
-75.1697265767495,
39.9245130913301
],
[
-75.1695422792073,
39.9253560964618
],
[
-75.1695018955924,
39.9255408176007
],
[
-75.169499983121,
39.9255616271563
],
[
-75.1694959424341,
39.9256056099416
],
[
-75.169418277667,
39.9259586571703
],
[
-75.1692298228684,
39.9268153243347
],
[
-75.1692016580219,
39.9269433530704
],
[
-75.1689593661104,
39.9280447160122
],
[
-75.1688223067243,
39.9286677114173
],
[
-75.1687669164005,
39.9289194852877
],
[
-75.1686908103947,
39.9292654175122
],
[
-75.1685536652564,
39.9298887814425
],
[
-75.1684247525231,
39.9304747195144
],
[
-75.1683649366045,
39.9307465967153
],
[
-75.1681528451153,
39.9317105657195
],
[
-75.1681249930338,
39.9318371538397
],
[
-75.1678814561365,
39.9329440064653
],
[
-75.1676427826943,
39.9341597141567
],
[
-75.167631189996,
39.9342127451704
],
[
-75.1673049793099,
39.9357050399679
],
[
-75.1670852198311,
39.9367520088053
],
[
-75.1669702851113,
39.9371971397676
],
[
-75.1668187446391,
39.937878052367
],
[
-75.1668107118177,
39.9379169462104
],
[
-75.1665721218871,
39.9390720301714
],
[
-75.1663631443853,
39.940039626753
],
[
-75.1662773991396,
39.9404509166013
],
[
-75.1662074679921,
39.9408229654595
],
[
-75.1659911950464,
39.9418295518669
],
[
-75.1658493366692,
39.942419270679
],
[
-75.1657810232603,
39.9427944309301
],
[
-75.1656749548442,
39.9432097720146
],
[
-75.1655769764517,
39.9436738376401
],
[
-75.1654687465433,
39.9440852786411
],
[
-75.1653430290725,
39.9446736508429
],
[
-75.1652036222648,
39.9446563884154
],
[
-75.1651834174078,
39.9446531046255
],
[
-75.1645265475363,
39.9445788591674
],
[
-75.1641574794127,
39.9445324768539
],
[
-75.1631391544734,
39.944397773075
],
[
-75.1626891029504,
39.9443537464652
],
[
-75.1623509320677,
39.9443081959367
],
[
-75.1615578133786,
39.944205484946
],
[
-75.1607731718267,
39.9441139647889
],
[
-75.1603973354028,
39.9440633926358
],
[
-75.1599871691717,
39.9440183143435
],
[
-75.1584171475428,
39.9438237147881
],
[
-75.1576215905614,
39.9437267731627
],
[
-75.1568438238429,
39.9436245063821
],
[
-75.1558274222445,
39.943495268386
],
[
-75.1552699035365,
39.9434243742877
],
[
-75.1545759497598,
39.9433377279877
],
[
-75.1536965771699,
39.9432276249154
],
[
-75.15212059893,
39.9430338502745
],
[
-75.1513331167955,
39.9429303252591
],
[
-75.1509627118428,
39.9428880919811
],
[
-75.1505408378375,
39.9428320430715
],
[
-75.1489491137437,
39.9426363339022
],
[
-75.1473847813795,
39.9424461318617
],
[
-75.1463574480417,
39.9423125919181
],
[
-75.1456455412971,
39.9422266893163
],
[
-75.145451838511,
39.9421693695802
],
[
-75.145256035491,
39.9421247094719
],
[
-75.1438500445515,
39.9419421221552
],
[
-75.1433517131611,
39.9418814145045
],
[
-75.1432291623411,
39.9418664853933
],
[
-75.1431292613189,
39.9418543140568
],
[
-75.1430258321309,
39.9418417143102
],
[
-75.1427787470382,
39.9418116123758
],
[
-75.1423723446914,
39.9417620999413
],
[
-75.140933482595,
39.9415867902125
],
[
-75.1390169178875,
39.9413532485716
],
[
-75.1371750939856,
39.9411287829177
],
[
-75.1363838469747,
39.941032342361
],
[
-75.1364099540096,
39.9403535369983
],
[
-75.1364345650492,
39.9397135934717
],
[
-75.1364639084016,
39.9389505847153
],
[
-75.1364772961049,
39.9386024651285
],
[
-75.1364747079192,
39.9384587377922
],
[
-75.1364654284591,
39.9379432408313
],
[
-75.1364547519587,
39.9373502062801
],
[
-75.1364460876709,
39.9368689338198
],
[
-75.1364385409338,
39.9364496909005
],
[
-75.1364286593784,
39.9359007786988
],
[
-75.136419710335,
39.9354037265089
],
[
-75.1364035129541,
39.9345038564348
],
[
-75.1363921160496,
39.9344343556423
],
[
-75.1362761903608,
39.9337274017603
],
[
-75.1360243707791,
39.9321916638848
],
[
-75.1360236900332,
39.9321875142606
],
[
-75.1355288980595,
39.929169788917
],
[
-75.1347801745046,
39.9270189246064
],
[
-75.134487198152,
39.9261772465338
],
[
-75.1338523937284,
39.9248419904482
],
[
-75.1323469644417,
39.9216752225217
],
[
-75.1316342160916,
39.9201528864342
],
[
-75.1303519589228,
39.9174139723931
],
[
-75.1302084674103,
39.9170407137502
],
[
-75.1292778094573,
39.914619705956
],
[
-75.1290274344817,
39.9139683508891
],
[
-75.1287400949364,
39.913220819116
],
[
-75.1285303687765,
39.9109817342247
],
[
-75.1284669980379,
39.9103051547889
],
[
-75.1295388904147,
39.9064999155051
],
[
-75.1298687436393,
39.9052896595941
],
[
-75.1306163825986,
39.9025463559522
],
[
-75.1320514423505,
39.8993134634826
]
]
]
]
},
"properties": {
"area": "",
"location": "11th St. & Wharton St.",
"perimeter": "55305.49622659",
"dist_numc": "03",
"sum_area": "",
"area_sqmi": "183904866.166698",
"district_i": "",
"objectid": "323",
"globalid": "5ec4b50a-47e7-4fe9-b163-eb5556de302b",
"district_": "3",
"_feature_id": "3",
"_feature_id_string": "Police_Districts.3",
"dist_num": "3",
"div_code": "SPD",
"phone": "686-3030",
"incidents": 27458
}
},
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.1636629198861,
39.9533845346541
],
[
-75.1633312206521,
39.9533391945633
],
[
-75.16320606373,
39.9533427678918
],
[
-75.1623815064303,
39.9532381658346
],
[
-75.1624418939466,
39.9529158032526
],
[
-75.1625457535359,
39.9524395273744
],
[
-75.1625913170383,
39.9523718427068
],
[
-75.1626085671435,
39.9522553604122
],
[
-75.1627211395912,
39.9516694118103
],
[
-75.1628790867806,
39.9515335900286
],
[
-75.1629835816769,
39.9515371192872
],
[
-75.1635184564677,
39.9516001219741
],
[
-75.1636472487511,
39.9516392770827
],
[
-75.163900432651,
39.9516731559467
],
[
-75.1639744411654,
39.9516520196997
],
[
-75.1640264365517,
39.9516372209818
],
[
-75.1639189019318,
39.951573679586
],
[
-75.1638803345851,
39.9515294429352
],
[
-75.1638730357765,
39.9515046024765
],
[
-75.1640133490244,
39.9508859170341
],
[
-75.1641760904829,
39.9501223296518
],
[
-75.1642616667718,
39.9497469425576
],
[
-75.164340325893,
39.9493551340743
],
[
-75.1645814383406,
39.9482250778353
],
[
-75.1647542839953,
39.9474339376971
],
[
-75.164847449984,
39.9470083899881
],
[
-75.1649398714476,
39.9466463539202
],
[
-75.1651556423412,
39.9455662872908
],
[
-75.1653430290725,
39.9446736508429
],
[
-75.1662728851017,
39.9447982137282
],
[
-75.166973059783,
39.9448863458683
],
[
-75.1677558705589,
39.9449824206547
],
[
-75.1685387292698,
39.945065043155
],
[
-75.1701069206695,
39.9452766254014
],
[
-75.1716962407882,
39.9454657670495
],
[
-75.1732643544752,
39.9456510129322
],
[
-75.1740391989798,
39.9457591976541
],
[
-75.1748411832855,
39.9458516176661
],
[
-75.1767503073872,
39.9460991190324
],
[
-75.1775472047233,
39.9461828556205
],
[
-75.1783452445575,
39.9462844404002
],
[
-75.1789541289234,
39.9463616238843
],
[
-75.1795113125578,
39.9464358294972
],
[
-75.180531391804,
39.9465584437136
],
[
-75.1816423785606,
39.9467055078418
],
[
-75.1828737408337,
39.9468590317028
],
[
-75.1834593147667,
39.9469294463314
],
[
-75.1840268191966,
39.9469953575102
],
[
-75.1863242282006,
39.9473083728633
],
[
-75.1846622200379,
39.9484990761053
],
[
-75.1836781174631,
39.9492412159453
],
[
-75.1836122564847,
39.9492917753784
],
[
-75.1830153791004,
39.9497499724943
],
[
-75.1824364722671,
39.950472867612
],
[
-75.1817739137382,
39.9514627553563
],
[
-75.1817433609949,
39.9515285333743
],
[
-75.1812534979849,
39.9525831812514
],
[
-75.1810358810644,
39.9530073344215
],
[
-75.1804495615134,
39.9541500860771
],
[
-75.1803125487265,
39.954492232709
],
[
-75.180185590546,
39.9548092697597
],
[
-75.1799011355824,
39.9554186112337
],
[
-75.1798643154274,
39.9554974875084
],
[
-75.1795685272454,
39.9561310915983
],
[
-75.1795252822105,
39.9562237255784
],
[
-75.1793661826744,
39.9570267675104
],
[
-75.1792968020649,
39.9578884236574
],
[
-75.1794803673234,
39.9588689537332
],
[
-75.1798406258999,
39.959796838615
],
[
-75.1799566764886,
39.9599846775684
],
[
-75.1799947849262,
39.9600463579985
],
[
-75.1800462530971,
39.960129660929
],
[
-75.180064017083,
39.9601584148364
],
[
-75.180221847652,
39.9604138708218
],
[
-75.1807773927076,
39.9612079910969
],
[
-75.181076717783,
39.9616358485782
],
[
-75.1819601442429,
39.9625895902013
],
[
-75.1828792797525,
39.9635724253574
],
[
-75.1834738918195,
39.9643495866089
],
[
-75.1835471790778,
39.9644453725394
],
[
-75.1836503711011,
39.9645802429438
],
[
-75.1843582427201,
39.9655583401971
],
[
-75.1848508589533,
39.9661495434897
],
[
-75.1855943334446,
39.9669161628037
],
[
-75.187070718262,
39.9677557542398
],
[
-75.1890049420503,
39.9686479985208
],
[
-75.1905349401847,
39.9695311927163
],
[
-75.1911725167495,
39.9701822035365
],
[
-75.1915716155895,
39.9715495916126
],
[
-75.1918576705971,
39.9727446463202
],
[
-75.1925168848478,
39.974287639771
],
[
-75.1930698393252,
39.975233922473
],
[
-75.1931693096649,
39.9753520991631
],
[
-75.193063500891,
39.9753631575064
],
[
-75.1919626181406,
39.9754868266435
],
[
-75.1918192928085,
39.9755021681585
],
[
-75.1913365147955,
39.9755538454965
],
[
-75.1909974375318,
39.9755401732192
],
[
-75.1906253087428,
39.9754956374021
],
[
-75.1899633160027,
39.9754126016444
],
[
-75.1882159985726,
39.9751843851137
],
[
-75.1878899460424,
39.9749162908626
],
[
-75.186991724077,
39.9736238347401
],
[
-75.1863697485321,
39.973546843604
],
[
-75.185396407626,
39.9734263507252
],
[
-75.1848506480717,
39.973359179882
],
[
-75.1837723084612,
39.9732297970424
],
[
-75.1821502988466,
39.9730187624343
],
[
-75.1814385213449,
39.9729308042182
],
[
-75.1807313738444,
39.972850318086
],
[
-75.1803233418155,
39.9727968178259
],
[
-75.1799416342022,
39.9727511176612
],
[
-75.1794912180893,
39.9726914519412
],
[
-75.1791446184354,
39.9726518095756
],
[
-75.1785793391772,
39.9725827405217
],
[
-75.178110052204,
39.9725186275061
],
[
-75.1778645784956,
39.9724890843229
],
[
-75.1775403640077,
39.9724466098008
],
[
-75.1770305000525,
39.9723835814436
],
[
-75.1765445186001,
39.9723197972681
],
[
-75.1759498489278,
39.9722414238064
],
[
-75.175370107702,
39.9721660234299
],
[
-75.1749462531046,
39.9721112872295
],
[
-75.1743691447649,
39.9720441238986
],
[
-75.1733435598176,
39.971905964598
],
[
-75.172661051246,
39.9718325715143
],
[
-75.1719946215876,
39.9717428229517
],
[
-75.1713196636523,
39.9716596017468
],
[
-75.1705535954751,
39.9715792647213
],
[
-75.1692760842033,
39.9714155454357
],
[
-75.1688952165598,
39.971363955448
],
[
-75.168479075586,
39.9713187257733
],
[
-75.1677055759002,
39.9712209962012
],
[
-75.1668142969089,
39.9711056757592
],
[
-75.1667345644149,
39.971093680347
],
[
-75.1659884335959,
39.9709988965173
],
[
-75.1653129589579,
39.9709194971132
],
[
-75.1645567901881,
39.9708259969005
],
[
-75.1629828961301,
39.9706322542144
],
[
-75.1614061660983,
39.9704376841741
],
[
-75.1605623487523,
39.9703289408852
],
[
-75.1598550441467,
39.9702296811027
],
[
-75.1597049183992,
39.9702111632246
],
[
-75.1599789216228,
39.9690043486562
],
[
-75.1600749820875,
39.9686088965476
],
[
-75.1601618150251,
39.9681863734527
],
[
-75.160215948562,
39.9678977111663
],
[
-75.160408661276,
39.9670393558433
],
[
-75.1604850226223,
39.9666795206039
],
[
-75.1605420547985,
39.966407570551
],
[
-75.1607366139243,
39.9655081694947
],
[
-75.1608074954025,
39.9651681979259
],
[
-75.1609195520017,
39.9646633909818
],
[
-75.160964272234,
39.9644619161817
],
[
-75.1610283478847,
39.9641730328327
],
[
-75.1611116767055,
39.9637980251719
],
[
-75.1611923551701,
39.9634254201612
],
[
-75.161263134278,
39.963135940509
],
[
-75.1613334662095,
39.9627560597994
],
[
-75.1613858767264,
39.9624833223077
],
[
-75.1613832284341,
39.9623267398933
],
[
-75.1615301611711,
39.962224100011
],
[
-75.1616518462036,
39.9616886951119
],
[
-75.1620934804956,
39.959616270539
],
[
-75.1622562004975,
39.958852657578
],
[
-75.1623161846233,
39.958571158876
],
[
-75.1624170966892,
39.9580975789454
],
[
-75.162449536684,
39.9579563809114
],
[
-75.1624737273891,
39.957851085761
],
[
-75.1625070278268,
39.9577061317511
],
[
-75.1628211536589,
39.9562592333644
],
[
-75.163017593529,
39.9553543801531
],
[
-75.1632174236741,
39.9544338822297
],
[
-75.1633955758822,
39.9536132247028
],
[
-75.1634851361741,
39.9535482227752
],
[
-75.163555765219,
39.9535230061522
],
[
-75.1636960014064,
39.9534993590474
],
[
-75.1639045685506,
39.9534627252985
],
[
-75.1636629198861,
39.9533845346541
]
]
]
]
},
"properties": {
"area": "",
"location": "21st St. & Pennsylvania Ave.",
"perimeter": "38272.90199239",
"dist_numc": "09",
"sum_area": "",
"area_sqmi": "58409103.3084256",
"district_i": "",
"objectid": "328",
"globalid": "e0d0815a-41e8-49bd-95ac-fa6713ddcb2a",
"district_": "9",
"_feature_id": "8",
"_feature_id_string": "Police_Districts.8",
"dist_num": "9",
"div_code": "CPD",
"phone": "686-3090",
"incidents": 20423
}
},
{
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
-75.2208838346182,
39.9478464895082
],
[
-75.2203948790257,
39.9474407673672
],
[
-75.2197788333488,
39.946928561993
],
[
-75.2191133351989,
39.9463633097754
],
[
-75.2184262721531,
39.9457950180414
],
[
-75.2177347410617,
39.9451924489517
],
[
-75.2171642595774,
39.9447276943485
],
[
-75.2166922821461,
39.9443111352495
],
[
-75.2165219749359,
39.9441802141647
],
[
-75.2158599939102,
39.9436188636699
],
[
-75.2156178115939,
39.9434116614477
],
[
-75.2152493227544,
39.9430963923206
],
[
-75.2148175384806,
39.9427381325518
],
[
-75.2138747675316,
39.9419317182206
],
[
-75.2133308536786,
39.9414743860992
],
[
-75.2126040392993,
39.9408593719508
],
[
-75.2119673881936,
39.9403155792136
],
[
-75.2113867449848,
39.9398442428721
],
[
-75.2107705382283,
39.9393116760669
],
[
-75.2106527017801,
39.9392084520179
],
[
-75.2100233151808,
39.9386571118925
],
[
-75.2098195827897,
39.9386203013431
],
[
-75.2096250372673,
39.9385728142796
],
[
-75.2090794004683,
39.9383449970436
],
[
-75.2089533497774,
39.9382923658879
],
[
-75.2067228320154,
39.9373610153191
],
[
-75.2064404824803,
39.9343519684425
],
[
-75.2075745526257,
39.9331743807765
],
[
-75.2089039568923,
39.931711877368
],
[
-75.2096928376641,
39.9308439783657
],
[
-75.2105248338869,
39.9297303368913
],
[
-75.2111621779013,
39.928414269071
],
[
-75.2115779451186,
39.927616875512
],
[
-75.2121488621601,
39.92635593548
],
[
-75.2124051326175,
39.925399349915
],
[
-75.2124106456783,
39.9253570659052
],
[
-75.2125596546616,
39.9242140985274
],
[
-75.2123693723323,
39.9234032890701
],
[
-75.2119560900908,
39.922658299079
],
[
-75.2111183445074,
39.9219605117532
],
[
-75.2099430083864,
39.9211986368318
],
[
-75.2088848085288,
39.9209912301388
],
[
-75.2077127331762,
39.9208803429169
],
[
-75.2064802832471,
39.9209096149427
],
[
-75.2052425405608,
39.9210802638522
],
[
-75.2037551200125,
39.9210472435237
],
[
-75.2026233136276,
39.9205975768425
],
[
-75.2020411801917,
39.9199478529091
],
[
-75.201996165711,
39.9197899868379
],
[
-75.2018462646849,
39.9192642788959
],
[
-75.2019462130935,
39.9185589555749
],
[
-75.2024654985794,
39.9174525738762
],
[
-75.2035998885241,
39.9156240064877
],
[
-75.2041104718959,
39.9145032749498
],
[
-75.2047057819539,
39.9133278187654
],
[
-75.2049844960005,
39.9129278163134
],
[
-75.2054243056553,
39.9122966027351
],
[
-75.205458896246,
39.9122617968932
],
[
-75.2063599603972,
39.9113551069667
],
[
-75.2072177696083,
39.9110203641382
],
[
-75.2084821429923,
39.9106238739477
],
[
-75.2094930225613,
39.9106179777223
],
[
-75.2122806459482,
39.910764621773
],
[
-75.2135630312364,
39.9106231903327
],
[
-75.2146474480173,
39.9101235959976
],
[
-75.2153095629376,
39.9096146564538
],
[
-75.2156852850742,
39.9089012703199
],
[
-75.2156981057631,
39.907571375196
],
[
-75.2154592544245,
39.9055991301944
],
[
-75.2151131200966,
39.9037943201612
],
[
-75.2146880815532,
39.9018887086462
],
[
-75.214347850889,
39.9012361400572
],
[
-75.2140536534036,
39.9006718544829
],
[
-75.2135848910551,
39.8999397897849
],
[
-75.21211219285,
39.8982939968276
],
[
-75.2115739305084,
39.8978442609409
],
[
-75.2106334320495,
39.8970584233013
],
[
-75.2095395509341,
39.8963407924869
],
[
-75.2081184493951,
39.895530987958
],
[
-75.2064335196325,
39.8948992738097
],
[
-75.2046751987608,
39.8942659030134
],
[
-75.2022017380447,
39.8938430247182
],
[
-75.2004108153049,
39.8935909366223
],
[
-75.1979204814168,
39.8928845721941
],
[
-75.1973501330361,
39.8925622361696
],
[
-75.1971693551037,
39.8924600671729
],
[
-75.1966432477873,
39.8921627298621
],
[
-75.1953786397618,
39.8908609662488
],
[
-75.1950071748463,
39.8890130658829
],
[
-75.1947458530337,
39.8871676189629
],
[
-75.1943526910336,
39.8841871573358
],
[
-75.1942342185835,
39.8819628182425
],
[
-75.1941914325481,
39.8799241308964
],
[
-75.1932515154305,
39.8781927029563
],
[
-75.1943078434838,
39.8775920123334
],
[
-75.1973998662007,
39.8752859475043
],
[
-75.2044783149743,
39.87146532537
],
[
-75.2114665369748,
39.8670134283409
],
[
-75.2160397836934,
39.8711243465774
],
[
-75.2157908569307,
39.8750502708029
],
[
-75.2157289080652,
39.8760272252134
],
[
-75.215724547798,
39.8760964296038
],
[
-75.2157239171462,
39.8761133653161
],
[
-75.2159020190188,
39.8760688138271
],
[
-75.2160494612994,
39.8760339262369
],
[
-75.216205771781,
39.8760002209015
],
[
-75.2163504821402,
39.8759669029602
],
[
-75.2163729561912,
39.8759616497752
],
[
-75.2167023442009,
39.875885942797
],
[
-75.2168475300007,
39.8758524599846
],
[
-75.2170155131662,
39.8758163086184
],
[
-75.2175182444758,
39.8757547370019
],
[
-75.2177031365567,
39.8757290747643
],
[
-75.2178615670798,
39.8757101763197
],
[
-75.2180360064976,
39.8756921021384
],
[
-75.2183210580772,
39.8756874999122
],
[
-75.2183320200836,
39.8756876556633
],
[
-75.2187962983369,
39.8756815563937
],
[
-75.2188268292758,
39.8756811615513
],
[
-75.2188873604504,
39.8756828850542
],
[
-75.2189231617522,
39.8756786548894
],
[
-75.2192427331158,
39.8756008787302
],
[
-75.2194460478169,
39.8755531369494
],
[
-75.2196235459304,
39.8755117479083
],
[
-75.2196498000784,
39.8755006562194
],
[
-75.219706506153,
39.8754854306902
],
[
-75.2197369134552,
39.8754824966682
],
[
-75.2197732141708,
39.8754888343542
],
[
-75.2208670308835,
39.8755795657539
],
[
-75.2210426559906,
39.8755950772525
],
[
-75.2212325831515,
39.8756113154163
],
[
-75.2212824908069,
39.8756156029724
],
[
-75.2220855253074,
39.8756836523489
],
[
-75.2227008373749,
39.8757393917023
],
[
-75.2228722116899,
39.8757600011854
],
[
-75.2230691358237,
39.8757833065004
],
[
-75.2231552276134,
39.8757935749362
],
[
-75.2231831940328,
39.8757969366733
],
[
-75.223501407896,
39.8772852890982
],
[
-75.2286052318887,
39.881077038591
],
[
-75.229034894355,
39.8813572988732
],
[
-75.2295454455,
39.8818725895494
],
[
-75.2299145828973,
39.8824207733591
],
[
-75.2304131650216,
39.8834698619014
],
[
-75.2306701020609,
39.8839040997742
],
[
-75.2322300884545,
39.8870981286992
],
[
-75.2327826451185,
39.8881475337369
],
[
-75.2332494087389,
39.8889322712083
],
[
-75.233428856208,
39.8891872672579
],
[
-75.2337982075034,
39.8897618733923
],
[
-75.2338025489588,
39.8897690823677
],
[
-75.2350313346613,
39.8899592540887
],
[
-75.2353874548255,
39.8900115399298
],
[
-75.2359442502333,
39.8900689824063
],
[
-75.2363874737519,
39.8900787036392
],
[
-75.2367530224004,
39.890056347801
],
[
-75.2370600360004,
39.8900175191151
],
[
-75.2373130179269,
39.8899737093419
],
[
-75.2377263912215,
39.8898574805846
],
gitextract_lhsux0s0/ ├── .gitignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── bower.json ├── dist/ │ └── choropleth.js ├── examples/ │ ├── basic/ │ │ ├── crimes_by_district.geojson │ │ ├── demo.js │ │ └── index.html │ ├── computed_values/ │ │ ├── demo.js │ │ └── index.html │ ├── fetch_join/ │ │ ├── demo.js │ │ └── index.html │ └── legend/ │ ├── demo.js │ └── index.html ├── package.json ├── src/ │ └── choropleth.js ├── test/ │ └── choropleth.test.js └── webpack.config.js
SYMBOL INDEX (88 symbols across 1 files)
FILE: dist/choropleth.js
function r (line 1) | function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,lo...
function t (line 1) | function t(n){var r=typeof n;return!!n&&("object"==r||"function"==r)}
function t (line 1) | function t(n){return!!n&&"object"==typeof n}
function e (line 1) | function e(n){return o(n)?n:Object(n)}
function e (line 1) | function e(n){if(null==n)return[];c(n)||(n=Object(n));var r=n.length;r=r...
function e (line 1) | function e(n,r,t){if("function"!=typeof n)return o;if(void 0===r)return ...
function e (line 1) | function e(n){return null!=n&&u(o(n))}
function t (line 1) | function t(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=e}
function e (line 1) | function e(n){if(u(n))return n;var r=[];return o(n).replace(f,function(n...
function e (line 1) | function e(n){return u(n)&&o(n)&&a.call(n,"callee")&&!c.call(n,"callee")}
function e (line 1) | function e(n,r,t){if(null!=n){void 0!==t&&t in o(n)&&(r=[t]);for(var e=0...
function t (line 1) | function t(n,r){return n="number"==typeof n||e.test(n)?+n:-1,r=null==r?o...
function e (line 1) | function e(n,r){var t=typeof n;if("string"==t&&a.test(n)||"number"==t)re...
function t (line 1) | function t(n,r){if("function"!=typeof n)throw new TypeError(e);return r=...
function e (line 1) | function e(n,r){return o(n,r,u)}
function e (line 1) | function e(n,r){var t=null==n?void 0:n[r];return o(t)?t:void 0}
function e (line 1) | function e(n){return o(n)&&a.call(n)==u}
function e (line 1) | function e(n){return u(n)&&o(n.length)&&!!P[E.call(n)]}
function t (line 1) | function t(n){var r=n?n.length:0;return r?n[r-1]:void 0}
function e (line 1) | function e(n,r,t){var e=typeof n;return"function"==e?void 0===r?n:f(n,r,...
function t (line 1) | function t(n,r,t){var e=-1,o=n.length;r=null==r?0:+r||0,r<0&&(r=-r>o?0:o...
function e (line 1) | function e(n,r,t){if(!f(t))return!1;var e=typeof r;if("number"==e?o(t)&&...
function t (line 1) | function t(n,r){for(var t=-1,e=n.length;++t<e&&r(n[t],t,n)!==!1;);return n}
function e (line 1) | function e(n,r){return null==r?n:o(r,u(r),n)}
function t (line 1) | function t(n,r,t){t||(t={});for(var e=-1,o=r.length;++e<o;){var u=r[e];t...
function n (line 1) | function n(){}
function e (line 1) | function e(n,r,t,i){i||(i=[]);for(var l=-1,s=n.length;++l<s;){var p=n[l]...
function e (line 1) | function e(n,r){return o(n,r,u)}
function e (line 1) | function e(n,r){return o(n,r,u)}
function e (line 1) | function e(n,r,t,a,c,i){return n===r||(null==n||null==r||!u(n)&&!f(r)?n!...
function t (line 1) | function t(n){return function(r){return null==r?void 0:r[n]}}
function t (line 1) | function t(n,r){for(var t=-1,e=r.length,o=Array(e);++t<e;)o[t]=n[r[t]];r...
function e (line 1) | function e(n){return f(function(r,t){var e=-1,f=null==r?0:t.length,a=f>2...
function e (line 1) | function e(n){return function(r,t,e){for(var u=o(r),f=e(r),a=f.length,c=...
function e (line 1) | function e(n,r){return o(function(t){var e=t[0];return null==e?e:(t.push...
function e (line 1) | function e(n){return function(r,t,e){return t=o(t,e,3),u(r,t,n,!0)}}
function e (line 1) | function e(n){return function(r,t,e){return"function"==typeof t&&void 0=...
function e (line 1) | function e(n){return function(r,t,e){return"function"==typeof t&&void 0=...
function e (line 1) | function e(n){return function(r,t,e){var f={};return t=o(t,e,3),u(r,func...
function e (line 1) | function e(n){return n===n&&!o(n)}
function e (line 1) | function e(n,r){n=o(n);for(var t=-1,e=r.length,u={};++t<e;){var f=r[t];f...
function e (line 1) | function e(n,r){var t={};return o(n,function(n,e,o){r(n,e,o)&&(t[e]=n)}),t}
function e (line 1) | function e(n){return o(n,u(n))}
function e (line 1) | function e(n){n=u(n);for(var r=-1,t=o(n),e=t.length,f=Array(e);++r<e;){v...
function t (line 1) | function t(n){return n}
function n (line 34) | function n(){var n,r,t,e,o,u,f,a,c;for(u=this,r=[],a=0,e=arguments.lengt...
function e (line 53) | function e(n){var r=n?n.length:0;for(this.data={hash:a(null),set:new f};...
function t (line 53) | function t(n,r){var t=-1,e=n.length;for(r||(r=Array(e));++t<e;)r[t]=n[t]...
function t (line 53) | function t(n,r){for(var t=-1,e=n.length,o=Array(e);++t<e;)o[t]=r(n[t],t,...
function t (line 53) | function t(n,r){for(var t=-1,e=r.length,o=n.length;++t<e;)n[o+t]=r[t];re...
function t (line 53) | function t(n,r){for(var t=-1,e=n.length;++t<e;)if(r(n[t],t,n))return!0;r...
function t (line 53) | function t(n,r){return void 0===n?r:n}
function e (line 53) | function e(n,r,t){for(var e=-1,u=o(r),f=u.length;++e<f;){var a=u[e],c=n[...
function e (line 53) | function e(n,r){var t=n?n.length:0,e=[];if(!t)return e;var c=-1,i=o,l=!0...
function t (line 53) | function t(n,r,t,e){var o;return t(n,function(n,t,u){if(r(n,t,u))return ...
function e (line 53) | function e(n,r){for(var t=-1,e=r.length,u=-1,f=[];++t<e;){var a=r[t];o(n...
function e (line 53) | function e(n,r,t){if(r!==r)return o(n,t);for(var e=t-1,u=n.length;++e<u;...
function e (line 53) | function e(n,r,t,e,p,b,v){var g=a(n),y=a(r),m=l,x=l;g||(m=h.call(n),m==i...
function e (line 53) | function e(n,r,t){var e=r.length,f=e,a=!t;if(null==n)return!f;for(n=u(n)...
function e (line 53) | function e(n){var r=u(n);if(1==r.length&&r[0][2]){var t=r[0][0],e=r[0][1...
function e (line 53) | function e(n,r){var t=a(n),e=c(n)&&i(r),d=n+"";return n=p(n),function(a)...
function e (line 53) | function e(n,r,t,p,d){if(!c(n))return n;var h=a(r)&&(f(r)||l(r)),b=h?voi...
function e (line 53) | function e(n,r,t,e,s,p,d){for(var h=p.length,b=r[t];h--;)if(p[h]==b)retu...
function e (line 53) | function e(n){var r=n+"";return n=u(n),function(t){return o(t,n,r)}}
function t (line 53) | function t(n){return null==n?"":n+""}
function e (line 53) | function e(n,r){var t=n.data,e="string"==typeof r||o(r)?t.set.has(r):t.h...
function e (line 53) | function e(n){var r=this.data;"string"==typeof n||o(n)?r.set.add(n):r.ha...
function e (line 53) | function e(n){return a&&f?new o(n):null}
function e (line 53) | function e(n,r,t,e,u,f,a){var c=-1,i=n.length,l=r.length;if(i!=l&&!(u&&l...
function t (line 53) | function t(n,r,t){switch(t){case e:case o:return+n==+r;case u:return n.n...
function e (line 53) | function e(n,r,t,e,u,a,c){var i=o(n),l=i.length,s=o(r),p=s.length;if(l!=...
function e (line 53) | function e(n){for(var r=u(n),t=r.length;t--;)r[t][2]=o(r[t][1]);return r}
function t (line 53) | function t(n,r,t){for(var e=n.length,o=r+(t?0:-1);t?o--:++o<e;){var u=n[...
function e (line 53) | function e(n,r){return void 0===n?r:o(n,r,e)}
function e (line 53) | function e(n){for(var r=c(n),t=r.length,e=t&&n.length,i=!!e&&a(e)&&(u(n)...
function e (line 53) | function e(n){return null!=n&&(o(n)?l.test(c.call(n)):u(n)&&f.test(n))}
function e (line 53) | function e(n){var r;if(!f(n)||l.call(n)!=a||u(n)||!i.call(n,"constructor...
function e (line 53) | function e(n){return o(n,u(n))}
function e (line 53) | function e(n,r,t){var e=u(n);return t&&f(n,r,t)&&(r=void 0),r?o(e,r):e}
function e (line 53) | function e(n,r,t){var e=null==n?void 0:o(n,u(r),r+"");return void 0===e?...
function e (line 53) | function e(n,r){if(null==n)return!1;var t=h.call(n,r);if(!t&&!i(r)){if(r...
function e (line 53) | function e(n,r,t){t&&o(n,r,t)&&(r=void 0);for(var e=-1,f=u(n),c=f.length...
function e (line 53) | function e(n,r,t){var e=null==n?void 0:n[r];return void 0===e&&(null==n|...
function e (line 53) | function e(n,r,t){if(null==n)return n;var e=r+"";r=null!=n[e]||u(r,n)?[e...
function e (line 53) | function e(n,r,t,e){var p=c(n)||s(n);if(r=u(r,e,4),null==t)if(p||l(n)){v...
function e (line 53) | function e(n){return o(n,u(n))}
function e (line 53) | function e(n){return o(n,u(n))}
function e (line 53) | function e(n){return f(n)?o(n):u(n)}
Condensed preview — 19 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (903K chars).
[
{
"path": ".gitignore",
"chars": 19,
"preview": "node_modules\n*.swp\n"
},
{
"path": ".travis.yml",
"chars": 69,
"preview": "language: node_js\nnode_js:\n - \"4.0\"\nbranches:\n only:\n - gh-pages"
},
{
"path": "LICENSE.md",
"chars": 1081,
"preview": "The MIT License (MIT)\n\nCopyright (c) 2015 Tim Wisniewski\n\nPermission is hereby granted, free of charge, to any person ob"
},
{
"path": "README.md",
"chars": 3284,
"preview": "# Leaflet Choropleth [](https://trav"
},
{
"path": "bower.json",
"chars": 472,
"preview": "{\n \"name\": \"leaflet-choropleth\",\n \"version\": \"1.1.2\",\n \"homepage\": \"https://github.com/timwis/leaflet-choropleth\",\n "
},
{
"path": "dist/choropleth.js",
"chars": 57721,
"preview": "!function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports"
},
{
"path": "examples/basic/crimes_by_district.geojson",
"chars": 790888,
"preview": "{\n \"type\": \"FeatureCollection\",\n \"features\": [\n {\n \"type\": \"Feature\",\n \"geometry\": {\n \"type\": \"Mul"
},
{
"path": "examples/basic/demo.js",
"chars": 778,
"preview": "var map = L.map('map').setView([39.9897471840457, -75.13893127441406], 11)\n\n// Add basemap\nL.tileLayer('http://{s}.tiles"
},
{
"path": "examples/basic/index.html",
"chars": 535,
"preview": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Leaflet Choropleth</title>\n\t\t<link rel=\"stylesheet\" hre"
},
{
"path": "examples/computed_values/demo.js",
"chars": 954,
"preview": "var map = L.map('map').setView([39.9897471840457, -75.13893127441406], 11)\n\n// Add basemap\nL.tileLayer('http://{s}.tiles"
},
{
"path": "examples/computed_values/index.html",
"chars": 535,
"preview": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Leaflet Choropleth</title>\n\t\t<link rel=\"stylesheet\" hre"
},
{
"path": "examples/fetch_join/demo.js",
"chars": 1701,
"preview": "/**\n * Advanced demo\n * Fetches a geojson file as well as a data file and joins them before passing to L.choropleth\n */\n"
},
{
"path": "examples/fetch_join/index.html",
"chars": 535,
"preview": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Leaflet Choropleth</title>\n\t\t<link rel=\"stylesheet\" hre"
},
{
"path": "examples/legend/demo.js",
"chars": 1518,
"preview": "var map = L.map('map').setView([39.9897471840457, -75.13893127441406], 11)\n\n// Add basemap\nL.tileLayer('http://{s}.tiles"
},
{
"path": "examples/legend/index.html",
"chars": 1082,
"preview": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Leaflet Choropleth</title>\n\t\t<link rel=\"stylesheet\" hre"
},
{
"path": "package.json",
"chars": 895,
"preview": "{\n \"name\": \"leaflet-choropleth\",\n \"version\": \"1.1.4\",\n \"description\": \"Choropleth plugin for Leaflet (color scale bas"
},
{
"path": "src/choropleth.js",
"chars": 1913,
"preview": "var L = require('leaflet')\nvar chroma = require('chroma-js')\nvar _ = require('lodash/object')\n\nL.choropleth = module.exp"
},
{
"path": "test/choropleth.test.js",
"chars": 2225,
"preview": "/* global describe, it, before */\nvar fs = require('fs')\nrequire('should')\nvar jsdom = require('mocha-jsdom')\n\nvar geojs"
},
{
"path": "webpack.config.js",
"chars": 168,
"preview": "module.exports = {\n entry: './src/choropleth.js',\n output: {\n path: __dirname + '/dist',\n filename: 'choropleth."
}
]
About this extraction
This page contains the full source code of the timwis/leaflet-choropleth GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 19 files (846.1 KB), approximately 217.5k tokens, and a symbol index with 88 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.