These 3 example files will help you to learn more about grasshopper :
Example 1 : Parametric facade by using the Lunchbox plugin and a point or a curve attractor.
Example 2 : Visualize the number of the sides of a series of hexagons in a grid.
Example 3 : Find the closest building to the position of a bus.
Algorithm & Visualization By Zahra Ebrahimi