selforganising/book — pull request #41 by maryams (2014-10-16 11:12:57+00:00)
Title: Create D3: Queue.js.md

# D3: Queue.js

D3 often requires large geodata files that can be a burden to load for your browser. Some action has been taken to reduce file sizes (the creation of topojson) but sometimes you just have a dataset that is as small as it can get, yet still pretty large. If you’ve run into this problem, you may have noticed your D3 code running before your file has actually loaded, which pooches the whole thing.
### Queue is a lightweight asynchronous helper library.

It is especially useful to use when you are loading multiple datasets into your code. In the following example, we’ll load two files;

•	topojson of US States &
•	geojson of US Populated cities

You would need to load queue library after D3 library: