Do the sales of collectible sneakears on eBay match?

I wanted to show with the data I collected through the Insight fellowship last fall, how the data fared as far as clusters of activity. With LeafletJS, I was able to show with a heatmap the top cities of where folks sell sneakers through eBay. The results are not too surprising, as mentioned in the articles published by Complex.

Up and coming cities (in no particular order):

Some of the cities matched the ones that Complex published. Other cities showed up, maybe because of changes with the availability of folks willing to part with collectible sneakers; maybe with the availability of folks who have time to create eBay listings.

Before using the for loop I was trying to use the jQuery map function and it wouldn’t work. After comparing the vanilla JS for loop with Map, I ended up picking the for loop. It’s supposed to be faster and it run without errors.

Once you have your data prepared in a nested array format, you can create a heatmap layer and pass in that array. This is how it might look like: