Map of protests against pension reform on Tuesday, June 6

`; } // Translate to French if (datum.participants_syndicats != ” && datum.participants_syndicats != null) { content += `

${thousands(+datum.participants_syndicats)} by participating syndicates `; // Remove source in English if (datum.source_syndicats != ” && datum.source_syndicats != null) content += ` (${datum.source_syndicats})`; happy += `

`; } if (datum.participants_police != ” && datum.participants_police != null) { content += `

${thousands(+datum.participants_police)} by participating font

`; } if (datum.participants_presse != ” && datum.participants_presse != null) { content += `

${thousands(+datum.participants_presse)} according to participating press`; if (datum.source_presse != ” && datum.source_presse != null) content += ` (${datum.source_presse})`; happy += `

`; } if (datum.participants_occurrence != ” && datum.participants_occurrence != null) { content += `

${thousands(+datum.participants_occurrence)} by participant occurrence

`; } // Remove detailed description in English if (datum.description_libre != ” && datum.description_libre != null) { content += `

${mdm(datum.free_description)}

`; } tooltip.select(“.d_tooltipcontent_carto_manif_retraites_0606”) .html(`

${mdm(title)}
${mdm(content)}

`); if (!isMobile) { let translateX = x 350 ? ‘-90%’ : ‘-40%’; let translateY = y { onMouseLeave(); } document.querySelector(“.d_bottom_carto_manif_retraites_0606”).onclick = () => { onMouseLeave(); } } // Draw legend // Translate to English let legendHtml = `

Filter the map by source:



`; if (hasOccurrence) legendHtml += `


`; document.querySelector(“.d_legend_carto_manif_retraites_0606”).innerHTML = legendHtml + `

`; // Event listener on the filter and update loops if needed document.querySelectorAll(“input[class=”carto_retraite_categ”]”).forEach(box => { box.onchange = () => { if (categs.length === 1 && box.checked === false) { box.checked = true; return; } if (categs.length === 1 && box.checked === false) include(box.value)) categs = categs.filter(e => e !== box.value); else categs.push(box.value); updateCircles(categs); } }); } // run drawMap( );

Source: Le Monde

Leave a Reply

Your email address will not be published. Required fields are marked *