Upload the assignment here



This assignment will center on another common element of working with data that is distributed in space and time and with correlated and clustered events. In this case the data is occurence of moderate to strong earthquakes over the time period 1900--2008. This assignment can be done using any programming language or application that you can.

You are ENCOURAGED to do this project collaboratively by sharing code on GITHUB. For instance, your team might divide itself among the FIVE tasks below.

You are to produce the following FIVE products from this data: (READ all of this CRAIG). Note that a single program should be sufficient to populate all the data required for the graphs and tables below.

  1. An event counter interface where the use enters latitude, longtiude, begin year, end year, and magnitude threshold and the counter returns the values. Note - you do NOT have to make a GUI interface, you just need to write some kind of if, sort and count program that would generate a table of events based on the input parameters. See this example hurricane event counter for reference. Provide a sample output of your table that contains earthquake occurences within a radius of 100 miles from Seattle Washington. Note that negative longitudes (like Seattle would be) represent those longtitudes WEST of Greenwich.

  2. Write a clustering detection algorithm where clustering are events that occur at nearly the same latitude and longtitude and nearly the same time (you can decide what nearly means). Provide an output table of those clustered events. Not Required but try to represent this clustering in some visual way

  3. Using one of the visuals in the D3 Gallery plot the location (latitude and longtitude) of all events that occurred within the longtitude range -75 to -150.

  4. Using one of the visuals in the D3 Gallery make a time line of all events of magnitude > 7.5

  5. Using the "What Makes People Happy" multiple axis graph in the D3 library, set it up with the following variables that could populate either the X or Y axis.

    • Longtitude
    • Depth
    • Magnitude
    • Year


    Be happy code example to steal from


  1. Get the Data File

    This time I have preformatted the data and thrown away extraneous stuff.

    There are six columns of information:

    • Column 1 a technique descriptor which you do not need
    • Column 2 year of occurrence
    • Column 3,4 is lat/long
    • Column 5 is depth under the surface; 0 indicates no data
    • Column 6 richter scale magnitude of the quake


  2. This is due by 10 pm on Thursday April 24


In class on April 25 we will discuss this assignment and extract a little science as well.