d3 / d3-selection

Transform the DOM by selecting elements and joining to data.

Home Page:https://d3js.org/d3-selection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using const in size.js breaks IE11

boyanio opened this issue · comments

Code in D3 is written in a way to support older browsers and since we have clients on IE11, size.js throws an error there for them, because of const.

Please see the release notes - this is intentional.

https://github.com/d3/d3-selection/releases/tag/v2.0.0

You must stick with 1.x or transpile if you still need to support IE.

Yes, just realized that and saw there were other breaking changes for the older browser. Thanks for this!