News for hackers. Stuff that matters.
Re:Show HN: Globe visualizations in Golang by ivanbakel on Friday July 07, 2017 @10:21AM (#14718506)
The map in the readme is puzzling me. It's almost like a riddle: what is there a lot of in the UK, east America, Portugal, and barely any of in Norway, Spain, and Belgium? It looks country-related, since you can see the borders defined pretty well. Is it the Starbucks data? It would explain why Finland appears to have a few, compared to its neighbours.
Re:Show HN: Globe visualizations in Golang by mbel on Friday July 07, 2017 @10:40AM (#14718667)
Judging by used color, the picture might be a result of this demo: https://github.com/mmcloughlin/globe/blob/master/examples/ci...

I have no idea what kind of cities might be listed in 'cities.json'.

Re:Show HN: Globe visualizations in Golang by mmcloughlin on Friday July 07, 2017 @10:50AM (#14718760)
Yes, the first image in the README is from cities.go. The data file is too big so I didn't include it in the repo, but the Makefile will fetch it.

https://github.com/mmcloughlin/globe/blob/master/examples/Ma...

It came from this node package

https://www.npmjs.com/package/cities.json/

It looks like the dataset has more cities in some countries than others.

Re:Show HN: Globe visualizations in Golang by filleokus on Friday July 07, 2017 @10:29AM (#14718572)
Probably not Starbucks, way to many mapped in Sweden. Starbucks is not that widely spread here.
Re:Show HN: Globe visualizations in Golang by mmcloughlin on Friday July 07, 2017 @10:54AM (#14718776)
Yes the top image in the README is cities. The Starbucks image is lower down in their distinctive green color.
Re:Show HN: Globe visualizations in Golang by ucarion on Friday July 07, 2017 @10:39AM (#14718662)
There's a cities.go file in the examples, maybe it's that? But the relevant cities.json is not in this repo.