Skip to content

Instantly share code, notes, and snippets.

@doubleshow
Last active August 29, 2015 14:05
Show Gist options
  • Save doubleshow/ed8a4f60fbb960f49f63 to your computer and use it in GitHub Desktop.
Save doubleshow/ed8a4f60fbb960f49f63 to your computer and use it in GitHub Desktop.
Markdown Template for Learning Challenge 1

Name

fill-in-your-name

Checkpoint 1

checkpoint1

Checkpoint 2

checkpoint2

Checkpoint 3

checkpoint3

Checkpoint 4

checkpoint4

Study Questions

Q1. What would happen if the data's heading reads differently, like below? Where in the code do you need to modify to get it to work again?

firstname	count
Locke	4
Reyes	8
Ford	15
Jarrah	16
Shephard	23
Kwon	42

A1: fill-in-your-answer

Q2. What is the point of going through so much trouble to use D3 to make a barchart? Why don't we just use Excel? What are the benefits of using D3?

A2: fill-in-your-answer

Q3. In the code below, what is the purpose of the second argument type?

d3.tsv("data.tsv", type, function (error, data) ...

A3: fill-in-your-answer

Challenge 1

challenge1

JSFiddle Link

Challenge 2

a.

challenge2-a

JSFiddle Link

b.

challenge2-b

JSFiddle Link

c.

challenge2-c

JSFiddle Link

d.

challenge2-d

JSFiddle Link

e.

challenge2-e

JSFiddle Link

f.

challenge2-f

JSFiddle Link

g.

challenge2-g

JSFiddle Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment