"job postings reduce"
Bootstrap 3.0.0 Snippet by irinashuvalova

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> </div>
const cityJobsData = fetch("https://data.cityofnewyork.us/resource/swhp-yxa4.json"); cityJobsData .then(data => data.json()) .then(data => { const agencyFrequency = data.reduce((agencies, value) => { agencies[value.agency] = agencies[value.agency] ? agencies[value.agency] + 1 : 1; return agencies; }, {}); console.log(agencyFrequency); }) .catch(err => console.log(err));

Related: See More


Questions / Comments: