diff --git a/index.html b/index.html index d41f5b7..1181494 100644 --- a/index.html +++ b/index.html @@ -71,8 +71,8 @@

Contratos menores | Ayuntamiento de Valencia 2015

Proveedor
diff --git a/js/dataviz.js b/js/dataviz.js index 02cc94b..662b1a7 100644 --- a/js/dataviz.js +++ b/js/dataviz.js @@ -102,7 +102,7 @@ var temp; d3.tsv("data/viplist_val2015.tsv", function(error, data) {//reads the viplist.tsv file legend.selectAll('div') .data(data) - .enter().append("li") + .enter().append("li").append("a") .attr("class", function(d) { return "inactive";}) .text(function(d) { return (d.entidad == '-')? d.people + ' ' : d.people + " ("+ d.ncontratos +") ";}) .on('click',function(d) { //when click on name