a = {
let functionPlot = await require("function-plot@1.22.2/dist/function-plot");
let target = DOM.element('div')
functionPlot({
target,
xAxis: { domain: [0, 50], label: "↑ Dog Age (years)"},
yAxis: { domain: [0, 100], label: "↑ Human Age (years)" },
disableZoom: true,
annotations: [
],
data: [
{
fn: '16 * log(x) + 31',
graphType: 'scatter'
}
]
})
return target
}