In this step we visualized our crashes data using geospatial binning. Hexagons are one shape that is commonly used for this but others include squares or triangles. These "hexbins" were created separately for your convenience as we don't have enough time to create them in this workshop. If you're interested you can view this Github Gist to see how they were made using the Turf and Simple Statistics Javascript libraries.
-
Try using a different color ramp from Color Brewer. Make sure to stick with a sequential scheme that has 7 classes as that's how many classes our aggregated data has.
-
Try adding the original crashes data layer underneath the hexbin layer, can you see the relationship between the two?
-
Try adding popups to the hexagons: https://www.mapbox.com/mapbox-gl-js/example/polygon-popup-on-click/
Built with blockbuilder.org
forked from clhenrick's block: ischool-geo-viz-template
forked from clhenrick's block: ischool-geo-viz-02