This project was bootstrapped with Create React App.
Checkout the demo video at https://share.getcloudapp.com/Z4uLE56K
After cloning the repo, follow the general steps.
Installs the required dependencies
Runs the app
You will need fourSquare credentials for running the simulation. Create your account for free at https://developer.foursquare.com
Enter the clientId and clientSecret provided from fourSquare. Enter the search query in the venue field and select a restaurant from the autocomplete suggestions. This will search venues around london. So look for your favourite restaurants around london. Mine is Dishoom.
Once selected, the start simulation button is enabled. Click on the button and enjoy the simulation.
You can pause the simulation at any point by pressing the spacebar or clicking the pause simulation button. And continue again by clicking on play simulation.
Hover on the nodes to see the name of the restaurant.
Ofcourse, You can drag the nodes around.
The color of the nodes represent where its located.
red - Restaurants in the north
green - Restaurants in the east
blue - Restaurants in the west
orange - Restaurants in the south
Black - Restaurant location not found
- Search for any cafe to see a graph of ever expanding nodes
- Search 'Grosvenor Casino' to see a graph of closely similar casinos that creates a nice glob of tightly knit restaurants. (Maybe there arent that many casinos in london)
- Search for 'Burger King' and you will see very few other similar takeaway restaurants.

