Extension:Graph/Demo/Map

{   "width": 700, "height": 380, "data": [ {           "name": "highlights", "values": [ {                   "id": "250", "val": "pink" },               {                    "id": "376", "val": "blue" },               {                    "id": "484", "val": "red" },               {                    "id": "496", "val": "green" },               {                    "id": "764", "val": "purple" }           ]        },        {            "name": "countries", "url": "/wiki/RawData:WorldMap-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" }               }            }        }    ] }