Live data from Hacker News

D3, Conceptually - Lesson 2

code.hazzens.com

1–10 of 11 posts

Re: D3, Conceptually - Lesson 2

#5
post #4

Nice 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.

Re: D3, Conceptually - Lesson 2

#6
post #4

Nice 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?

http://vimeo.com/45558674

Re: D3, Conceptually - Lesson 2

#8
post #7

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.

http://bl.ocks.org/4180634

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.

http://mapbox.com/tilemill/

More examples:

http://bl.ocks.org/mbostock http://bl.ocks.org/jasondavies http://bl.ocks.org/tmcw

Re: D3, Conceptually - Lesson 2

#10
post #7

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. http://bl.ocks.org/4180634 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.…

Thank you for the links oscilloscope, jit resources. Not having Malta in there was killing any european biz intel graph.
Post reply on HN