Extension:Graph/Demo/Map

{   "width": 700, "height": 380, "data": [ {           "name": "highlights", "values": [ {                   "id": "BR", "val": "pink" },               {                    "id": "US", "val": "blue" },               {                    "id": "CN", "val": "red" },               {                    "id": "DZ", "val": "green" },               {                    "id": "AU", "val": "purple" }           ]        },        {            "name": "countries", "url": "/wiki/Extension:Graph/Demo/RawData:WorldMap-iso2-json?action=raw", "format": { "type": "topojson", "feature": "countries" },           "transform": [ {                   "type": "geopath", "value": "data", "projection": "equirectangular" },               {                    "type": "zip", "key": "data.id", "with": "highlights", "withKey": "data.id", "as": "zipped", "default": { "data": { "val": "#C0C0C0" }                   }                }            ]        }    ],    "marks": [ {           "type": "path", "from": { "data": "countries" },           "properties": { "enter": { "path": { "field": "path" }               },                "update": { "fill": { "field": "zipped.data.val" }               },                "hover": { "fill": { "value": "#989898" }               }            }        }    ] }