Comment on page
Calculating variables on-the-fly is possible with a variety of simple descriptors to derive new fields or use pre-processed data. There are three variable types:
- Continuous: Numeric variables on a continuous scale, such as population density or access to internet
- Categorical: Ordinal variables with fixed categories for each geography, such as electricity infrastructure, vulnerability category, or any dummy variables.
- LISA: Local Indicator of Spatial Autocorrelation statistics, which identify significant hotspots, coldspots, and neighboring geographies.
map-config.jsin the project root folder, you'll see
variableswhere you can define your variables.
const variables = [
variable: "Median age",
numerator: 'Median age',
You can declare multiple variables, which will appear in the drop down menu on the left side of the map Each variable can be dynamically binned, or provided with a fixed color scheme. You can use time-series data, single columns, or categorical data.