Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Aviation accidents in 2014
|array b|
array := (NeoCSVReader on: (ZnEasy get: '*+FROM+aviation_accidents_in_2014') entity string readStream)
b := RTMapLocationBuilder new.
b shape circle
size: [ :v| v];
color: (Color red alpha: 0.3).
array do: [ :row | |fatalities|
fatalities := (row at: 5) asNumber.
b addPoint: (row at:8) asNumber @ (row at:9) asNumber value: fatalities].
b open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment