{
d3.select("#exemple").selectAll("li")
.data(["green", "red", "orange"])
.property("couleur", function(d) { return d;})
.on("mouseover", function () {
d3.select(this).style("background-color", this.couleur);
d3.select(this).style("color", "white");
})
.on("mouseout", function () {
d3.select(this).style("background-color", "ghostwhite");
d3.select(this).style("color", "black");
});
}