Assignment 2 - List Earthquake

Example Output

Learning Outcomes

  1. Linked Lists
  2. Nodes

Goals

The purpose of this assignment is to learn to

  1. Change the style of nodes.
  2. Use the earthquake data. You will generate a visualization that looks like the figure above.

Description

Task

Style a linked list of earthquake records.

Node styling

  1. Open your scaffold code.
  2. Plug in your credentials.
  3. All the styling will be done in setProperties.
  4. Get the EarthquakeUSGS object from the SLelement.
  5. Get the ElementVisualizer object from the SLelement.
  6. Change the element size based on the earthquake magnitude.
  7. Give the element a different shape if the earthquake is in Hawaii, and yet another shape if it is in Alaska.

Extensions

Help

For Java

SLelement documentation

Element documentation

ElementVisualizer documentation

EarthquakeUSGS documentation

For C++

SLelement documentation

Element documentation

ElementVisualizer documentation

EarthquakeUSGS documentation

For Python

SLelement documentation

Element documentation

ElementVisualizer documentation