Better HN
topnewbestaskshowjobs
Log inSign up

dhcole1

14 karma · joined Nov 9, 2012 (14y ago) · 6 submissions

Submissions

1.

Run your own GitHub Pages(developmentseed.org ↗)

16 points · by dhcole1 · 13y ago · 1 comment

comment 14y ago · link · parent

IE9 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

comment 14y ago · link · parent

For the county shapes, the low res data is from D3: https://github.com/mbostock/d3/tree/master/examples/data and the hi res data is processed from the US census: http://www.census.gov/geo/www/cob/

comment 14y ago · link · parent

Ok, well if there's anything specific, I'm happy to post some gists.

comment 14y ago · link · parent

Sure, what are you looking for?