Published
Edited
Jun 28, 2022
Importers
Insert cell
# Datafield: PCSD_sizebyte
Insert cell
#### Category: ${tableName}
#### Level: Daily
#### Unit: ${chartUnit}
Insert cell
Insert cell
import {GetApiUrl} from "@starboard/system-config"
Insert cell
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 = "Byte"
Insert cell
tableName = "prove_commit_split_d"
Insert cell
tableAbbr = tableName.split('_').map(x=>(x[0].toUpperCase())).join('')
Insert cell
columnName = "sizebyte"
Insert cell
serieName = "64 GiB"
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