"version": 2, "width": }*}}}, "height": }*}}},
 "padding": },
 "background": "#edf1f7",
 "data": [
 "name": "population",
 "url": "wikiraw:///틀:코로나19 범유행 쌍방향 지도/데이터/2019년 나라별 인구 수-csv",
 "format": {
 "type": "csv"
 "name": "highlights",
 "url": "wikiraw:///}",
 "format": {
 "type": "csv",
 "parse": {
 "date": "date",
 "cases": "number"
 "transform": [}|
 "type": "lookup",
 "on": "population",
 "keys": ["id"],
 "onKey": "ISO3",
 "as": ["pop"],
 "default": {}
 "type": "formula",
 "field": "v",
 "expr": "round((parseFloat(datum[''+dateStamp])/datum.pop.Population)*} }})/} }}"
 ]|
 "type": "formula",
 "field": "v",
 "expr": "parseFloat(datum[''+dateStamp])"
 ]}}
 "name": "globalByDate",
 "url": "wikiraw:///}",
 "format": {
 "type": "csv",
 "parse": {
 "date": "date",
 "cases": "number"
 "name": "countries",
 "url": "wikiraw:///틀:코로나19 범유행 쌍방향 지도/데이터/세계 지도",
 "format": {"type": "topojson","feature": "countries"},
 "transform": [
 "type": "geopath",
 "value": "data",
 "scale": }*100}},
 "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": [
 ]
 "name": "handlePosition",
 "init": }*}}},
 "streams": [
 "type": "mousemove[isDragging]",
 "expr": "clamp"
 "type": "touchmove[isDragging]",
 "expr": "clamp"
 ]
 "name": "scaledHandlePosition",
 "expr": "handlePosition",
 "scale": {"name": "dateScale","invert": true}
 "name": "currentDate",
 // WugBot! humandate
 "init": "Jul 6",
 "expr": "timeFormat"
 /* %d = day, %b = month name (English in all wikis), %m = month number, %y = year. */
 /* Any order and characters between them is allowed. */
 "name": "dateStamp",
 // WugBot! computerdate
 "init": "07/06/20",
 "expr": "timeFormat"
 "name": "tooltipSignalPop",
 "init": {"expr": "{x: 0, y: 0, datum: {} }"}, 
 "streams": [
 "type": "@map:mouseover", 
 "expr": "{x: eventX, y: eventY, datum: eventItem.datum.pop}"
 "type": "@map:mouseout",
 "expr": "{x: 0, y: 0, datum: {} }"
 ] 
 "name": "tooltipSignalZipped",
 "init": {"expr": "{x: 0, y: 0, datum: {} }"}, 
 "streams": [
 "type": "@map:mouseover", 
 "expr": "{x: eventX, y: eventY, datum: eventItem.datum.zipped}"
 "type": "@map:mouseout",
 "expr": "{x: 0, y: 0, datum: {} }"
 ] 
 ],

 "scales": [
 "name": "dateScale",
 "type": "time",
 "domain": {
 "data": "globalByDate",
 "field":"date"
 "range": "width"
 "name": "color",
 "type": "}",
 "domain": [
 "domainMin": }|log|1|}}},
 "zero": false,
 "range": ["#FFEDBC", "#f83600"]
 ],

 "marks": [
 "name": "map",
 "type": "path",
 "from": {"data": "countries"},
 "properties": {
 "enter": {
 "path": {"field": "layout_path"}}<0.8|,
 "y": {"value": 10} }}
 "update": {
 "fill": [
 "test": "datum.zipped.v !== null",
 "scale": "color",
 "field": "zipped.v"
 ]
 "hover": {"fill": {"value": "#989898"} }
 "name": "scrollArea",
 "type": "rule",
 "properties": {
 "enter": {
 "x": {"value": 0},
 "y": {"value": 40},
 "x2": {"value": }*}}}},
 "stroke": {"value": "#edf1f7"},
 "strokeWidth": {"value": 16}
 "name": "scrollLine",
 "type": "rule",
 "properties": {
 "enter": {
 "x": {"value": 0},
 "y": {"value": 40},
 "x2": {"value": }*}}}},
 "stroke": {"value": "#000"},
 "strokeWidth": {"value": 2}
 "name": "handle",
 "type": "symbol",
 "properties": {
 "enter": {
 "x": {"value": 200},
 "y": {"value": 40},
 "size": {"value": 154},
 "stroke": {"value": "#880"},
 "strokeWidth": {"value": 2.5}
 "update": {
 "fill": {"value": "#fff"},
 "x": {"signal": "handlePosition"}
 "hover": {"fill": {"value": "#f00"} }
 "name": "dateLabel",
 "type": "text",
 "properties": {
 "enter": {
 "x": {"value": 0},
 "y": {"value": 25},
 "fontSize": {"value": 32},
 "fontWeight": {"value": "bold"},
 "fill": {"value": "steelblue"}
 "update": {"text": {"signal": "currentDate"} }
 "name": "HoverText",
 "type": "text",
 "properties": {
 "enter": {
 "x": {"value": }*} }} },
 "y": {"value": 10}, 
 "align": {"value": "right"},
 "fontSize": {"value": 17},
 "fill": {"value": "black"}
 "update": {
 "text": [
 "test": "tooltipSignalZipped.datum.v === null",
 "template": "}<0.4||\u007b{tooltipSignalPop.datum.Country}\u007d}} (No data)"
 ]
 ]}||,
 "legends": [
 "fill": "color",
 "title": "}",
 "offset": -300,
 "properties": {
 "gradient": {
 "stroke": {"value": "transparent"}
 "title": {
 "fontSize": {"value": 14}
 "legend": {
 "x": {"value": 0},
 "y": {"value": }*225 }} }
 ] }}