when generating captions, changes to the font size in the spec doesn't reflect in the final rendering. This makes it so that the following two specs generate the exact same result
let caption = c.text(attr, {x: mark.get(attr, ["x", "width"], (d) => d.x + d.width/2), y: 0, text: attr.charAt(0).toUpperCase() + attr.slice(1), fontsize:"100px"}, {textAnchor: "bottom"})
let caption = c.text(attr, {x: mark.get(attr, ["x", "width"], (d) => d.x + d.width/2), y: 0, text: attr.charAt(0).toUpperCase() + attr.slice(1), fontsize:"10px"}, {textAnchor: "bottom"})
when generating captions, changes to the font size in the spec doesn't reflect in the final rendering. This makes it so that the following two specs generate the exact same result
let caption = c.text(attr, {x: mark.get(attr, ["x", "width"], (d) => d.x + d.width/2), y: 0, text: attr.charAt(0).toUpperCase() + attr.slice(1), fontsize:"100px"}, {textAnchor: "bottom"})
let caption = c.text(attr, {x: mark.get(attr, ["x", "width"], (d) => d.x + d.width/2), y: 0, text: attr.charAt(0).toUpperCase() + attr.slice(1), fontsize:"10px"}, {textAnchor: "bottom"})