Published
Edited
Jun 28, 2022
Importers
Insert cell
# Datafield: SOBM_pre_commit_sector_batch_size
Insert cell
#### Category: ${tableName}
#### Level: Daily
#### Unit: ${chartUnit}
Insert cell
Insert cell
Insert cell
import {GetApiUrl} from "@starboard/system-config"
Insert cell
data_res = fetch(GetApiUrl(tableName) + 'api/v1/observable/'+ tableName.replaceAll('_','-') + "/" + columnName , {
method: 'GET',
redirect: 'follow'
}).then(response => {
return response.json();
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
chartUnit = "PiB"
Insert cell
tableName = "sector_onboarding_by_method"
Insert cell
tableAbbr = tableName.split('_').map(x=>(x[0].toUpperCase())).join('')
Insert cell
('Datafield' + `-${tableAbbr}_${columnName}`).toLowerCase()
Insert cell
columnName = "pre_commit_sector_batch_size"
Insert cell
serieName = "Precommit Sector Batch Size"
Insert cell
xAxisColumn = "stat_date"
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more