the beauty of mapping


Kode Iklan Disini

Monday, November 15, 2021

Using Google Maps Alongside Crossfilter


Crossfilter.js is a JavaScript library for exploring multivariate datasets. Combine Crossfilter alongside the Google Maps API in addition to it is possible to practise mapped information visualizations alongside really powerful filtering options.

Last twelvemonth Brendan Kenny of the Google Maps Developers Team created a useful video demonstration of how to connect Crossfilter to the Google Maps API. All the code used inward the video is available on GitHub in addition to y'all tin also play alongside this example map to larn an thought of how powerful the combination of Crossfilter in addition to Google Maps tin be.

Muyueh Lee has also used Crossfilter alongside Google Maps to practise a visualization of traffic accidents in Hsinchu City, Taiwan. Traffic Accidents Hsinchu maps all traffic accidents inward the urban gist betwixt Jan to October, 2013.

As good equally the Google Map showing the place of the accidents the visualization includes a position out of charts in addition to graphs showing the accident information past times month, twenty-four hr catamenia in addition to hour. The resultant of binding Crossfilter to the Google Map is that the Traffic Accidents Hsinchu map tin endure filtered past times month, twenty-four hr catamenia in addition to hour.

Click on the charts in addition to graphs in addition to y'all tin filter the information shown on the map. For event y'all tin direct private days on the Accident Weekday bar nautical chart to visualize the accidents shown on the map past times private twenty-four hr catamenia of the week. Or y'all could direct Sabbatum in addition to sun on the nautical chart to persuasion all the accidents that occurred at the weekend.

Crossfilter also includes tools to direct a attain of data. Click on the Accident Hour nautical chart in addition to y'all tin direct a attain of hours to persuasion the accidents on the map past times hour(s) of the day.