4 ms·
I learned about this: R2D3: > Since it doesn’t get bogged down with supporting legacy browsers without SVG support, we switched over to R2D3 for versions of In
by danso 14y ago
I learned about this: R2D3:
> Since it doesn’t get bogged down with supporting legacy browsers without SVG support, we switched over to R2D3 for versions of Internet Explorer less than IE9.
https://github.com/mhemesath/r2d3/ https://github.com/mhemesath/r2d3/
It's that easy to provide IE support for D3?
- dhcole1 14y agoIE9 works well with D3 without any work. For IE < 9, generally it was pretty easy, though we had to do a few extra things we needed to work around: 1. remove the use of SVG groups which are not supported in VML (though I think r2d3 has had a recent update with some level of group support) 2. Avoid selecting features paths by class (e.g. us d3.select('path') instead of d3.select('path.state') Class selectors just wouldn't work for us. 3. for performance, we used only the most simplified geographic data in IE < 9 4) 4. Avoid using d3.mouse for mouse location. Didn't work right in IE