Şablon:COVID-19 pandemisi interaktif haritalar/ortak
}, "height": }, "padding": {}, "background": "#edf1f7", "data": [ { "name": "population", "url": "wikiraw:///Şablon:COVID-19 pandemisi interaktif haritalar/veri/UN 2019 Population by country-csv", "format": { "type": "csv" } }, { "name": "highlights", "url": "wikiraw:///{}", "format": { "type": "csv", "parse": { "date": "date", "cases": "number" } }, "transform": [)/" } ] { "type": "formula", "field": "v", "expr": "parseFloat(datum[+dateStamp])" } ]}} }, { "name": "globalByDate", "url": "wikiraw:///{}", "format": { "type": "csv", "parse": { "date": "date", "cases": "number" } } }, { "name": "countries", "url": "wikiraw:///Şablon:COVID-19 pandemisi interaktif haritalar/veri/World map data", "format": {"type": "topojson","feature": "countries"}, "transform": [ { "type": "geopath", "value": "data", "scale": , "center": [-180,125], "translate": [0,0], "projection": "equirectangular" }, { "type": "lookup", "on": "population", "keys": ["id"], "onKey": "ISO3", "as": ["pop"], "default": {"Country": "" } }, { "type": "lookup", "on": "highlights", "keys": ["id"], "onKey": "id", "as": ["zipped"], "default": {"v": null, "Country":"No data"} } ] } ], "signals": [ { "name": "isDragging", "init": false, "streams": [ {"type": "@handle:mousedown","expr": "true"}, {"type": "mouseup","expr": "false"}, {"type": "#{}:mouseout","expr":"false"}, {"type": "@scrollArea:touchstart", "expr": "true"}, {"type": "touchend", "expr": "false"} ] }, { "name": "handlePosition", "init": }, "streams": [ { "type": "mousemove[isDragging]", "expr": "clamp(eventX(),0,width)" }, { "type": "touchmove[isDragging]", "expr": "clamp(eventX(),0,width)" } ] }, { "name": "scaledHandlePosition", "expr": "handlePosition", "scale": {"name": "dateScale","invert": true} }, { "name": "currentDate", // WugBot! humandate "init": "May 31", "expr": "timeFormat(,scaledHandlePosition)" /* %d = day, %b = month name (English in all wikis), %m = month number, %y = year.