Migrate to d3 v6

This commit is contained in:
Sebastian Serth
2020-12-14 13:02:39 +01:00
parent c6004a8e82
commit d547ae2c5a
4 changed files with 122 additions and 113 deletions

View File

@ -217,7 +217,7 @@ $(document).on('turbolinks:load', function() {
var tip = d3.tip()
.attr('class', 'd3-tip')
.offset([-10, 0])
.html(function(d) {
.html(function(_event, d) {
return "<strong>Students: </strong><span style='color:orange'>" + d + "</span>";
});