From bfed7711ef2f65f6b8b165cab58245a5f84ca2c5 Mon Sep 17 00:00:00 2001 From: numeroteca Date: Tue, 20 Jun 2017 11:32:44 +0200 Subject: [PATCH] arregla estilo del desplegable de empresas. closes #2 --- index.html | 4 ++-- js/dataviz.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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