Published
Edited
Sep 24, 2022
Insert cell
Insert cell
data = Object.assign(d3.csvParse(await FileAttachment("SHAP_inter_H2O-Mg.csv").text(), ({Area: area, H2O: x, H2O_Mg: y, Mg: Mg, Location: loc, label: label}) => ({area, Mg, loc, label, x: +x, y: +y})), {x: "H2O", y: "SHAP Interaction H2O-Mg"})
Insert cell
Insert cell
Insert cell
Insert cell
margin = ({top: 20, right: 30, bottom: 30, left: 40})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

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.
Learn more