{"id":21216655,"url":"https://github.com/jackhowa/exercise-three-homework1","last_synced_at":"2025-07-26T02:06:31.958Z","repository":{"id":78849917,"uuid":"52393051","full_name":"JackHowa/exercise-three-homework1","owner":"JackHowa","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-23T21:32:20.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T16:44:34.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JackHowa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-23T21:30:49.000Z","updated_at":"2016-02-23T21:32:21.000Z","dependencies_parsed_at":"2023-03-12T05:59:59.894Z","dependency_job_id":null,"html_url":"https://github.com/JackHowa/exercise-three-homework1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fexercise-three-homework1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fexercise-three-homework1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fexercise-three-homework1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackHowa%2Fexercise-three-homework1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackHowa","download_url":"https://codeload.github.com/JackHowa/exercise-three-homework1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667965,"owners_count":20328036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T21:54:32.809Z","updated_at":"2025-03-15T00:41:33.939Z","avatar_url":"https://github.com/JackHowa.png","language":"JavaScript","readme":"#### Exercise Three: Looping through data to create [a simple bar chart](http://chriscanipe.com/news-apps-class-2016/exercise-three/).\n\nWe 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:\n\n1) Loading data via JQuery's [super simple ajax method, $.getJSON](http://www.w3schools.com/jquery/ajax_getjson.asp):\n\n```\n$.getJSON(\"js/filename.json\", function(data) {\n\tdoSomething(data);\n})\n```\n\n2) Passed the data between functions. (See [Paramaters and Arguments](http://www.w3schools.com/js/js_function_parameters.asp))\n\n3) We looped through our data, and appended some markup to the page to create a simple bar chart. Some references you might find useful:\n* [For loops](http://www.w3schools.com/js/js_loop_for.asp)\n* [Variables](http://www.w3schools.com/js/js_variables.asp)\n* [Operators](http://www.w3schools.com/js/js_operators.asp)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fexercise-three-homework1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackhowa%2Fexercise-three-homework1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackhowa%2Fexercise-three-homework1/lists"}