{"id":101,"date":"2014-06-17T14:10:30","date_gmt":"2014-06-17T13:10:30","guid":{"rendered":"http:\/\/blog.datashine.org.uk\/?p=101"},"modified":"2014-08-07T12:37:45","modified_gmt":"2014-08-07T11:37:45","slug":"pro-tip-specifying-your-own-colour-ramp","status":"publish","type":"post","link":"https:\/\/blog.datashine.org.uk\/2014\/06\/pro-tip-specifying-your-own-colour-ramp\/","title":{"rendered":"Pro-Tip: Specifying your own Colour Ramp"},"content":{"rendered":"
DataShine: Census uses ColorBrewer<\/a> for its colours ramps. There are six ramps provided by default, which can be selected at the bottom of the website – five sequential ones and one diverging one, which is used for many maps where the standard deviation on the percentage population is a lot lower than the population percentage average (i.e. things which don’t vary a lot.)<\/p>\n You can change to your own one by specifying the ColorBrewer ramp code in the appropriate place on the URL of DataShine Census, e.g. &ramp=YlOrRd<\/i>. Note that if you specify one of six ones at the bottom, then it may still switch to the default sequential or diverging one. But for any of the many others available, this will not happen.<\/p>\n The picture here is using the “Spectral” colour ramp. This is a diverging colour ramp, best suited for showing variations on either side of the average, so we are somewhat misusing it here, as here only the darkest red colours represent below-average values. <\/p>\n Live example.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" DataShine: Census uses ColorBrewer for its colours ramps. There are six ramps provided by default, which can be selected at the bottom of the website – five sequential ones and one diverging one, which is used for many maps where the standard deviation on the percentage population is a lot lower than the population percentage … Continue reading Pro-Tip: Specifying your own Colour Ramp<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":104,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/posts\/101"}],"collection":[{"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":7,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/posts\/101\/revisions"}],"predecessor-version":[{"id":109,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/posts\/101\/revisions\/109"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/media\/104"}],"wp:attachment":[{"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/media?parent=101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/categories?post=101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.datashine.org.uk\/wp-json\/wp\/v2\/tags?post=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}