dragonfly-science / bailiwick-ui

Bailiwick frontend
1 stars 1 forks source link

Colour scales calculated in D3 #23

Closed simonwinter closed 5 years ago

simonwinter commented 5 years ago

Some maps (e.g. http://webrear.mbie.govt.nz/theme/population-estimates/map/timeseries/2018/new-zealand?left-transform=indexed&right-transform=absolute) show data in different units to the raw value - i.e. percentage, dollar amounts etc.

Currently, we are not always showing this transformed label.

finlay commented 5 years ago

Move the scales into D3

simonwinter commented 5 years ago

Almost there! We need to change the array of scale data being passed to the js into min & max values & we're away!

finlay commented 5 years ago

This is done