Data in JS Exercises

Part 2 - Manipulating Data

Here, you’ll move beyond simple display to transforming data. We introduce array methods like filter, map, and reduce to create new data structures and insights from the source data.

Local Data Sources

Global Data Sources

Exercise Ideas

  1. Filtering 311 Calls by Type:

    1-phl-311-calls/

    Here we will build on the 311 calls list from Part 1. Instead of just displaying the most recent calls, we will display charts with certain aggregated metrics, and allow the user to filter by type of service.

  2. Deduplicating Polling Places:

    2-phl-polling-places/

  3. Calculating Total Park Acreage:

    3-phl-parks/

  4. Filtering Earthquakes by Magnitude and Depth:

    4-usgs-earthquakes/

  5. Mapping Cafes in Rome: ☕

    5-osm-cafes/

  6. Finding the Most Polluted Monitoring Station:

    6-openaq-pollution/