Skip to content

Basic looping and charting with Columbia Public Schools data

Notifications You must be signed in to change notification settings

chriscanipe/exercise-three

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise Three: Looping through data to create a simple bar chart.

We loaded up our Columbia Public Schools JSON in class Tuesday and iterated through the rows using a "for loop." We touched on three main concepts:

  1. Loading data via JQuery's super simple ajax method, $.getJSON:
$.getJSON("js/filename.json", function(data) {
	doSomething(data);
})
  1. Passed the data between functions. (See Paramaters and Arguments)

  2. We looped through our data, and appended some markup to the page to create a simple bar chart. Some references you might find useful:

About

Basic looping and charting with Columbia Public Schools data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published