]}. <a href=${dataPath} class="atm-text_link" target="_blank" title="Daten als kommagetrennte Tabelle herunterladen">Daten zur Grafik herunterladen</a></p>`
d.xTime=d3.timeParse("%Y")(d.Jahr);// xTime is time used for x scale so different year's data can share the x scale
d.Wert=d.Einheit=="Mwh [%]"?+d.Wert/100:+d.Wert;// Values to numeric and percentage
});
returndata;
})
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.