Published
Edited
Mar 3, 2021
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
function hover_2(g) {
if ("ontouchstart" in document) g
.on("touchstart", entered)
.on("touchend", left)
else g
.on("mouseenter", entered)
.on("mouseleave", left);
function entered() {
d3.select(this).attr('fill', 'steelblue')
}

function left() {
d3.select(this).attr('fill', 'lightgrey')
}
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require('d3@6')
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