theme | toc |
---|---|
dashboard |
false |
import {plotValue, plotBreakdownBar, plotBreakdownArea} from "./components/plots.js";
import {createStack, getPertChange} from "./components/helpers.js";
const breakdown = FileAttachment("./data/value.json").json();
${resize((width) => plotValue(breakdown, {width}))}
${resize((width) => plotBreakdownBar(createStack(breakdown), {width}))}
${resize((width) => plotBreakdownArea(createStack(breakdown), {width}))}