mitmedialab / Vida_Modeling

User Interface and Simulation Platform for a System Dynamics Model
MIT License
6 stars 2 forks source link

Change the color and format of the legend on the map to be different for each dataset #24

Closed seamuslo closed 3 years ago

seamuslo commented 3 years ago

I think it would be good to modify the script so that the color and format of the legend is different where necessary.

seamuslo commented 3 years ago

For instance, in the example below, because the change in workplace mobility measures are negative, the lightest values actually end up being the biggest change, which is not the normal convention for a choropleth map. image

Additionally, while the bounds for some of the maps seem to be chosen well in the currently implemented functionality, for this Farmer Terms of Trade Example (the values for which are also shown below), the legend has a range of 0 to 100, when all the values are in the 90-105 range, making the map less useful: image

image

Do you have any first pass thoughts on how to implement these? They are obviously not 100% essential, but I do think they would make the prototype significantly better in terms of interpreting the data.

jackreid commented 3 years ago

I realized that this should be merged with another issue, so the merged issue is now available at #34