Created
October 22, 2023 07:12
-
-
Save yssymmt/fdc76c929f420ddafa4c86cec898317e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"width": 600, | |
"height": 600, | |
"layer": [ | |
{ | |
"data": { | |
"url": "jp_pref.l.topojson", | |
"format": { | |
"type": "topojson", | |
"feature": "pref" | |
} | |
}, | |
"mark": { | |
"type": "geoshape", | |
"stroke": "white", | |
"strokeWidth": 0.5 | |
}, | |
"encoding": { | |
"color": { | |
"value": "#e0e0e0" | |
} | |
} | |
}, | |
{ | |
"data": { | |
"url": "geoe_04polygon.topojson", | |
"format": { | |
"type": "topojson", | |
"feature": "po" | |
} | |
}, | |
"mark": { | |
"type": "geoshape", | |
"stroke": "white", | |
"strokeWidth": 0.5, | |
"opacity": 0.3 | |
}, | |
"encoding": { | |
"color": { | |
"field": "properties.name", | |
"type": "nominal", | |
"scale": { "range": ["#c71585","#66cdaa","#dc143c"] } | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment