yaph / d3-geomap

A library for creating geographical maps based on D3.js
https://d3-geomap.github.io/
MIT License
133 stars 45 forks source link

Uncaught TypeError: d[self.properties.column].trim is not a function #46

Closed jendamozna closed 5 years ago

jendamozna commented 5 years ago

when called with array:

.datum([ {iso3: "RUS", Requests: 10}])

The trim() method cant be applied on integer: d3.geomap.js:491 val = d[self.properties.column].trim();

yaph commented 5 years ago

Thanks for reporting! I fixed it in the latest release just published.