diff --git a/articles/auto-thefts-2022/readme.md b/articles/auto-thefts-2022/readme.md index 6093e96..67f3703 100644 --- a/articles/auto-thefts-2022/readme.md +++ b/articles/auto-thefts-2022/readme.md @@ -2,7 +2,7 @@ **Code and markup by Kyle Duncan** -This is a data analysis and visualisation based on auto theft data from the Toronto Police Service. There are three aspects to this visualisation, an elevation-based overview of total thefts by neighbourhood, and a colour-based visual of thefts per square kilometer by neighbourhood at lower zoom levels; and a clustered count of individual thefts locations at higher zoom levels. +This is a data analysis and visualisation based on auto theft data from the Toronto Police Service. There are three aspects to this visualisation: an elevation-based overview of total thefts by neighbourhood, and a colour-based visual of thefts per square kilometer by neighbourhood at lower zoom levels; and a clustered count of individual thefts locations at higher zoom levels. Popups with more detail appear on click for both neighbourhoods and individual thefts, and the user can view a given year's data using the selector in the legend. Multiple thefts at a single location are collated and ordered in single popup. diff --git a/articles/raptors-distance-traveled/article.js b/articles/raptors-distance-traveled/article.js index 1f51da7..49ceb44 100644 --- a/articles/raptors-distance-traveled/article.js +++ b/articles/raptors-distance-traveled/article.js @@ -230,7 +230,7 @@ function getDistances() { addImages(d.data); findMatches(d); }) - .catch((e) => console.log("error:", e)); + .catch((e) => console.error(e)); } // add the arena graphic to the map @@ -322,4 +322,4 @@ fetch( d.forEach((l) => destinations.push(l)); getDistances(); }) - .catch((e) => console.log("error:", e)); + .catch((e) => console.error(e)); diff --git a/articles/raptors-distance-traveled/readme.md b/articles/raptors-distance-traveled/readme.md index bd239ef..645a4ed 100644 --- a/articles/raptors-distance-traveled/readme.md +++ b/articles/raptors-distance-traveled/readme.md @@ -47,7 +47,7 @@ function getDestinations(features) { }; destinations.push(pair); }) - .catch((e) => console.log("error:", e)); + .catch((e) => console.error(e)); fetches.push(p); }); Promise.all(fetches).then(() => {