Skip to content

Instantly share code, notes, and snippets.

@nnchambs
Last active March 24, 2017 21:27
Show Gist options
  • Save nnchambs/0282c300306d350954498eb6785c532f to your computer and use it in GitHub Desktop.
Save nnchambs/0282c300306d350954498eb6785c532f to your computer and use it in GitHub Desktop.

Data Driven Crash Course

"You learn D3 because it gives you the ability to impement almost every major data visualization technique. It also gives you the power to create your own data visualization techniques, something a more general library can't do."

Lovely Data Inspiration

Visualization Inspiration

###Common Pattern in D3

LOAD THE PAGE

SELECT ELEMENTS

BIND DATA

CREATE/UPDATE/DESTROY DOM ELEMENTS

Types of Data

  • d3.text()
  • d3.json()
  • d3.csv()
  • d3.html
Selecting + Binding
  • .select()
  • .selectAll()
  • .data()
  • .enter()
  • .exit()

####Takeaways:

  • it's big but it really ain't that scary
  • many of the patterns will seem familiar
  • get $$$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment