JS Graphics
JavaScript can draw directly with Canvas or work with charting libraries. Choose the tool based on interaction, accessibility, and the amount of data.
Where to run this
Use a local browser project for this example. It needs browser permissions, additional files, a server endpoint, or a library as described below. The restricted playground cannot provide those dependencies.
A practical example
const data = [{label: "Repair", value: 8}, {label: "Wood", value: 5}];
console.log(data.map(point => point.label + ": " + point.value).join("\n"));
What happens
The text version provides the data a chart will visualise.