Brasileiro que faz ou fez no passado alguma atividade voluntária:
Os dados colocados aqui vão representar os dados
da população brasileira num como um todo.
Eles fazem parte da SÉRIE HISTÓRICA da pesquisa,
por isso é importante que seja inclusa essa comparação
que demonstra o quanto o número cresceu
dos brasileiros que fazem atualmente trabalho voluntário.
(function() {
// math trick 2*pi*57 = 358, must be less than 360 degree
var circle = document.getElementById('green-halo');
var myTimer = document.getElementById('myTimer');
var interval = 30;
var angle = 0;
var angle_increment = 4;
var percentage_donut = 34;
window.timer = window.setInterval(function() {
circle.setAttribute("stroke-dasharray", angle + ", 20000");
myTimer.innerHTML = parseInt(angle / 360 * 100) + '%';
if (angle > (360 * (percentage_donut/100))) {
window.clearInterval(window.timer);
}
angle += angle_increment;
}.bind(this), interval);
})()
d3.select("#r1x")
.transition()
.duration(2000)
.attr("height", "180")
d3.select("#r2x")
.transition()
.duration(2000)
.attr("height", "80")
d3.select("#r3x")
.transition()
.duration(2000)
.attr("height", "140")
d3.select("#r1y")
.transition()
.duration(2000)
.attr("height", "80")
d3.select("#r2y")
.transition()
.duration(2000)
.attr("height", "100")
d3.select("#r3y")
.transition()
.duration(2000)
.attr("height", "180")
$(document).ready(function(){
$('.marker-animation').markerAnimation();
});
var pourcentage = 90;
var total = 158;
$( document ).ready(function() {
var result = ((pourcentage * total) / 100);
$('.pie').css('strokeDasharray', result);
});
$('[data-name="sudeste"]').children(1).attr('fill','#AA00FF')
$('[data-name="nordeste"]').children(1).attr('fill','#FF00AA')
$('[data-name="norte"]').children(1).attr('fill','#00AAFF')
$('[data-name="centrooeste"]').attr('fill','#FFAA00')
$('[data-name="sul"]').children(1).attr('fill','#00FFAA')
$(".brasil-map_path").css({'opacity':0.75})