Created
May 4, 2022 21:23
-
-
Save jesuino/5d334eb282927fa14ca34c39bc4827c8 to your computer and use it in GitHub Desktop.
Using Victory Chart
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: | |
- html: Countries Population | |
properties: | |
font-size: xx-large | |
margin-bottom: 100px | |
- settings: | |
type: EXTERNAL_COMPONENT | |
external_component_id: victory-charts | |
external: | |
width: "100%" | |
height: "400px" | |
columns: | |
- id: 2020 Population | |
pattern: '#' | |
victory-charts: | |
paddingBottom: '80' | |
paddingLeft: '-50' | |
chartType: "bar" | |
fixLabelsOverlap: "true" | |
themeColor: green | |
dataSetLookup: | |
uuid: pop | |
rowCount: 10 | |
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