> But how can we access the TopoJSON files off of bl.ocks?
You can add TopoJSON files to your gists like any other file. If you
want to use the TopoJSON files I've created, refer to this gist:
https://gist.github.com/4090846
You can load files across gists on
bl.ocks.org using URLs of the form
"/d/gistid/path/to/file". For example, to load the 1:110m resolution
world TopoJSON file, which defines both countries and land objects,
use "/d/4090846/world-110m.json". As in this example:
http://bl.ocks.org/4319903
In general, you'll see me referring to these shared TopoJSON files
rather than creating separate copies for each gist. This makes the
examples load faster because the files are cached across examples,
reduces load on
bl.ocks.org, and makes it easier for me to update the
shared files without needing to touch every example.
> Also, how are these files generated?
Try topojson --help? Very simply:
topojson foo.geojson -o foo.topojson
For a longer description, see my recent tutorial:
http://bost.ocks.org/mike/map/
Mike