Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Data file

Alex Morega edited this page Mar 6, 2014 · 2 revisions

A Data file contains numeric data to be represented on the map. It does not contain geographic information, that belongs in a Features file.

Currently the only supported data file source is Google Spreadsheet. See this popupation table for an example. The Tabletop library handles access, see compatibility and formatting data if you run into trouble.

The data file must contain at least two columns:

  • id is matched against the id property of the geographic features;
  • value contains the numeric value to be represented. Layers typically allow you to change this column's name by specifying a dataColumn property in the layer configuration.
Clone this wiki locally