Review repo's home page.
Github is how you should get and keep the course files up to date. Make an account, if you haven't.
I recommend you clone my repo, so you can repull it as I add stuff. You will do
git clone [copied path] (https is fine for now). I'll show you in class.
Every week you should do
git pull to get my updates. Do this from inside the directory made by cloning. If you want to make changes to class files, save them with new names or you will have merge conflicts. No one survives that.
You'll be doing homework in gists. This makes it easier for me to review and check it and find issues. Also, the bl.ocks.org site makes things easy for visual display of gists. See: http://bl.ocks.org/.
Make a directory for your files for a gist NOT INSIDE THE COURSE FILES REPO DIRECTORY and upload those by hand from the web page, or using the command line tool gistup. If you use the command line, make a directory for each gist, NOT INSIDE THE CLASS REPO YOU CLONED. (Your gists can't be inside another repo.)
Resources and tips on using gists:
You can see all your gists by looking here - where you fill in your own user name where mine is: https://gist.github.com/arnicas. If you want to edit or delete it, click on the header for one from the list.
<script>tag, you want to reference:
Demo making a gist for a CSV file...
set up your servers. If you haven't got one running (WAMP, MAMP, python, or otherwise), stick around and we'll set it up at the end. Use this to help: https://github.com/arnicas/d3-faq#running-a-server.
A good place to do an initial formatting of data for use in web apps is Excel (or Google Sheets). We often want to use csv files as data sources.
Things to remember about data in CSV files for use in the browser:
Read this for some tips: http://learnjsdata.com/read_data.html.
Comment from Scott Murray in the Knight D3 online class:
You can read this for more info on reading data in D3: http://learnjsdata.com/read_data.html.
A next step for data work is to do exploration with graphs in Excel or a tool like Tableau. We'll go over those in a couple weeks.
The contents of each data set are printed to the screen using a simple jquery text operation and
Homework is due at 5pm on Monday the night before the next class. I have office hours on Monday if you have struggled!
Read Chapter 3 of IDVW: http://chimera.labs.oreilly.com/books/1230000000345/ch02.html. You can stop at the SVG part at the end of chapter 3, for now. (Chapter 2 may be nice background but is optional.)
Loading data with D3, at http://learnjsdata.com/read_data.html.
Homework: Fix js_errors.html so it displays correctly. Send me the edited file, plus a screen cap of your console with the results of all the stages correctly showing. Subject line: "Week 1, JS errors". If you can't do it all, send me as far as you got. (20pt)
Homework: Set up your server, github accounts, etc!