Thematic Mapping: API Examples
Choropleth map: population by registration district in 1911
Reading boundary data from edinburghboundaries.js and statistrical data from Google Spreadsheet (view data)
Statistics from census records.
var map = new TME.Map.Kml.GoogleViz(); var options = { type: 'choropleth', title: 'Polulation 1911 (raw data)', classification: 'equal', geometry: edinburghBoundaries }; var kml = map.draw(data, options); var kmlObject = earth.parseKml(kml); earth.getFeatures().appendChild(kmlObject);