{"id":14918754,"date":"2021-09-29T01:49:04","date_gmt":"2021-09-29T01:49:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/color-chart-by-value\/"},"modified":"2021-09-29T01:49:04","modified_gmt":"2021-09-29T01:49:04","slug":"color-chart-by-value","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/color-chart-by-value\/","title":{"rendered":"Color chart by value"},"content":{"rendered":"<p>If you click on the section of the page labeled &#8216;Multi-hazard Risk&#8217; it will reveal a chart that has a list of countries that is ranked from 0 &#8211; 1.<\/p>\n<p>I need a way to color the bar chart based on the value. For example, 0.0,0.19 will be set to a certain color. 0.2,0.39 will have another color, and a few more ranges.<br \/>\nIs there an easy way to accomplish this? I&#8217;ll have many similar charts to create.<\/p>\n","protected":false},"template":"","class_list":["post-14918754","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14918754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14918754\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14918754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}