title="Daily temperature at San Francisco International Airport"// update your title here
locale="en"
functionformatDate(date){
returndate.toLocaleString(locale,{
month:"long",
day:"numeric",
year:"numeric",
timeZone:"UTC"
});
}
style=html`<style>
:root {
--font-color-dark-theme: lightgrey;
--font-color-light-theme: black;
}
text.title {
text-anchor: middle;
font-size: 24px;
}
text.x-label {
text-anchor: middle;
font-size: 20px;
}
text.x-tick {
font-size: 8px;
}
.tooltip {
font-size: 12px;
}
.tooltip-circle {
stroke-width: 2px;
fill: none;
}
</style>`
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.