D3, Conceptually - Lesson 2
code.hazzens.comNice job of showing/hiding the source behind each chart. For me the real power of D3 is binding it to data using APIs. I wonder who is already doing this.
To add to this, anyone using D3 as the render target in Backbone views?
Not sure quite what you mean, but I've used a Backbone view's initialize/render to set up a D3 visualization, and events to trigger changes to it.
square, nytimes, etc.
On a tangent to another one of these great lessons, I have to ask this. Does anyone have a correct D3 world json file with the missing countries and islands ?
Be sure to use the recently released TopoJSON world map, though it doesn't have comprehensive islands.
TopoJSON is a variant of GeoJSON that supports shape simplification, map coloring, cartograms and other topology-related features.
https://github.com/mbostock/topojson
For small geographic features like tiny islands, try the new d3.geo.tile plugin with a high-resolution tileset.
http://bl.ocks.org/4162068 https://github.com/d3/d3-plugins/tree/master/geo/tile
TileMill can create tilesets from shapefiles and other formats. It can export GeoJSON for D3 too.
More examples:
http://bl.ocks.org/mbostock http://bl.ocks.org/jasondavies http://bl.ocks.org/tmcw
Thank you for the links oscilloscope, jit resources. Not having Malta in there was killing any european biz intel graph.