Template Config JS Object { "charturl" : { "type" : "datamap" }, "options" : { "scope" : "world", "projection" : "mercator", "height" : 400, "width" : 600, "fills" : { "defaultFill" : "purple", "lt50" : "rgba(0,244,244,0.9)", "gt50" : "red" } } }
JSON Data for Preview { "options" : { "data" : { "USA" : { "fillKey" : "lt50" }, "RUS" : { "fillKey" : "lt50" }, "CAN" : { "fillKey" : "lt50" }, "BRA" : { "fillKey" : "gt50" }, "ARG" : { "fillKey" : "gt50" }, "COL" : { "fillKey" : "gt50" }, "AUS" : { "fillKey" : "gt50" }, "ZAF" : { "fillKey" : "gt50" }, "MAD" : { "fillKey" : "gt50" } } } }
Template Custom CSS
When signed in, you can copy this example to your own projects.
Sign in