//Chart.js supports various structures and multiple data sets. Has the ability to map object properties to axes. https://www.chartjs.org/docs/latest/general/data-structures.html
//clear existing canvas if Observable block is ran
if(document.getElementById('mixed')){
document.getElementById('mixed').remove()
}
letcanvas=document.createElement('canvas')
canvas.id="mixed"
letchart=newChart(
canvas,
config
);
//return canvas element to Observable
returncanvas
}
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.