Loading D3 templates for development
Unlike the other tools discussed in this book, it is relatively straightforward to get started with D3. We will want to organize our work in a dedicated folder, which we will just call D3
. We will also go ahead and create a text file inside the D3
folder; we will save it as index.html
. This will be our working file throughout this chapter and is often the default naming convention used for the landing page for any website.
There will be two approaches to setting up a file to load D3. One will be an online approach through a link, which will work as long as you are connected to the Internet, and the other approach will work whether you are online or offline. One caveat to keep in mind is that, if you are using the offline approach, you will need to manually update the D3 file with the latest JavaScript file whenever an update to D3 is made available.
Understanding JS Bin
JS Bin (http://jsbin.com/) is an online Integrated Development Environment (IDE) that...