Created
May 7, 2022 01:39
-
-
Save jesuino/dce493b30c33b87e322ab9fc4d4f4d72 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
datasets: | |
- uuid: pop | |
url: /datasets/population.json | |
pages: | |
- components: | |
- settings: | |
component: echarts | |
echarts: | |
option: >- | |
{ | |
"toolbox": { | |
"feature": { | |
"dataView": {}, | |
"dataZoom": {}, | |
"magicType": { | |
"type": ["line", "bar", "stack"] | |
}, | |
"restore": {} | |
} | |
}, | |
"series": [ | |
{ | |
"type": "bar", | |
"markPoint": { | |
"data": [ | |
{ | |
"symbol": "arrow", | |
"symbolRotate": 180, | |
"symbolSize": 20, | |
"name": "Brazil is here!", | |
"coord": [5, 214000000 ], | |
"itemStyle": { | |
"color": "red" | |
} | |
} | |
] | |
}, | |
"markLine": { | |
"data": [ | |
{ "type": "average" }, | |
{ "type": "max" }, | |
{ "type": "min" } | |
] | |
} | |
} | |
] | |
} | |
title: | |
text: Population | |
external: | |
width: 100% | |
height: 600px | |
dataSetLookup: | |
uuid: pop | |
group: | |
- columnGroup: | |
source: Name | |
groupFunctions: | |
- source: Name | |
#- source: 2020 Population | |
- source: 2021 Population |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment