Useful Resources
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
"data" : { ... incuding a formatted field called "Amount" ... },
"transform":[
{
"calculate": "parseFloat(replace(datum.Amount, /[$,]/g, ''))",
"as": "Amount"
}
]"encoding": {
"color": {
...
"legend": {
"legendExpr": "upper(datum.label)"
}
}
}"encoding":{
"color":{
"scale":{
"domain":[
"Direct School Expenses",
"School Services Budgeted Centrally",
"Central Administration",
"Charter Assessment",
"Non-BPS Student Services"
]
}
}
}