Google has now stopped its Earth API and Maps API is a paid for API nowadays. Some capabilities have also been either removed or changed. Therefore, I had to remove all examples of VizMap applications I had created. I didn’t remove the entire topic as I thought some of the code may still be useful with some modifications. 

javaScript: creating google visualization Data Views

This relates to Data Driven Mapping applications and the Javascript ‘HowTo’ section

Google Visualization dataViews

As mentioned in Using Google Visualization DataTables a master google DataTable is created for all data in the VizMap Dictionary and this table is subsequently filtered for use in each of the VizMap Tabs. This filtering is done once only, and the visibility of them is changed when selected or unselected through CSS.
Creating these dataViews makes this whole process rather simple. Here is how each dataView is generated using the Creating VizMap framework  to drive which fields are included and filtered on. Some of the utility functions referenced here are introduced in Using Google Visualization DataTables

this function would be called for each of the tables required in each tab

The visualization of all this is  below – items 4, 5,6,7 and 8 are all dataViews being shown within a tabbed info window – item 7 and 8 are grouped, the others are not. Each tab has its own version of the data view depending on the filter fields defined in 4. These dataViews are all generated from the master data table referenced in Using Google Visualization DataTables

As usual questions, feedback and comments are welcome at our forum. Now lets take a look at more javaScript snippets from this application