In-class Exercises
Hexbins
Use hexbins to look at the density of points.
- Open the shapefile in Inside Airbnb.
- Use the QGIS search bar to search for Create grid.
- Change Grid CRS to something not in degrees (eg, 2263 is in feet).
- Select Hexagon for the grid type, set the grid extent to Calculate from layer > manhattan-listings.
- Set the Horizontal spacing and Vertical spacing to 1000 feet to start.
- Create the grid.
- If the grid's hexagons are too large or too small, repeat the process but change the Horizontal spacing or Vertical spacing. These determine the height and width of the hexagons.
- Count the number of points in each hexagon and make a choropleth with the resulting layer.