Categories: trending

Women in the carpet – your imagination versus reality

Women are still under-represented in politics and in leadership positions. That should change. On June 14, numerous groups called for a women’s strike. Until then, it’s your turn: take our quiz to prove how well you know the current proportion of women.

Gender equality has been enshrined in the federal constitution since 1981. Much has happened since then, but women are still under-represented in political offices and economic bodies.

We’ll start with politics. Do you know how many women hold political office in our country?

Submit your tip using the slider and check the answer.

var data = [ { "name":"Bundesrat", "id":"bundesrat", "total":7, "frauen":3, "section":"politik" }, { "name":"Ständerat", "id":"staenderat", "total":46, "frauen":13, "section":"politik" }, { "name":"Nationalrat", "id":"nationalrat", "total":200, "frauen":81, "section":"politik" }, { "name":"Kantonale Regierungen", "id":"kant-reg", "total":154, "frauen":48, "section":"politik" }, { "name":"Verwaltungsrat Coop", "id":"coop", "total":10, "frauen":4, "section":"firma" }, { "name":"Verwaltungsrat Migros", "id":"migros", "total":5, "frauen":0, "section":"firma" }, { "name":"Verwaltungsrat Swiss", "id":"swiss", "total":5, "frauen":1, "section":"firma" }, { "name":"Verwaltungsrat Swisscom", "id":"swisscom", "total":9, "frauen":3, "section":"firma" }, { "name":"Verwaltungsrat Die Post", "id":"post", "total":10, "frauen":4, "section":"firma" }, { "name":"Verwaltungsrat SBB", "id":"sbb", "total":9, "frauen":4, "section":"firma" }, { "name":"Vorstandsausschuss Schweizerischer Arbeitgeberverband", "id":"arbeitgeberverband", "total":16, "frauen":2, "section":"verband" }, { "name":"Vorstandsausschuss Economie Suisse", "id":"economiesuisse", "total":17, "frauen":3, "section":"verband" }, { "name":"Vorstand Schweizerische Gewerbeverband", "id":"gewerbeverband", "total":15, "frauen":3, "section":"verband" }, { "name":"Präsidialausschuss Schweizerischer Gewerkschaftsbund", "id":"gewerkschaftsbund", "total":10, "frauen":6, "section":"verband" } ];

$(document).ready(function(){ var preset_females = 1;

$(data).each(function() { createFigure(this.total,this.frauen,this.name,this.id, this.section); });

/**********************************************/ /* Slider updated */ $(".sldr").on("input", function() { var guessed_val = ($(this).val()); var id_to_update = this.id.substr(5); // Update text for user $("#spn-"+id_to_update).html(guessed_val);

// Color d3.selectAll('.g-'+id_to_update).filter(function(d, i) {return i=guessed_val;}).selectAll('circle').transition().duration(100).style('fill', "#979797"); });

/**********************************************/ /* Proof result */ $(".sldr-button").click(function() { var id_to_proof = ($(this).attr("id").substr(4)); var guessed_result = $("#sldr-"+id_to_proof).val(); var correct_answer = ""; $(data).each(function() { if (this.id == id_to_proof) { correct_answer = this.frauen; total = this.total; } });

if(correct_answer == guessed_result) { if(correct_answer==1) { output = ("Richtig, es ist genau eine Frau."); } else { output = ("Richtig, es sind genau "+correct_answer+" Frauen."); } } else if (correct_answer < guessed_result) { if (correct_answer == 0) { output = ("Hier gibt es gar keine Frauen."); } else if (correct_answer==1) { output = ("Es ist nur eine Frau."); } else { output = ("Es sind nur "+correct_answer+" Frauen."); } } else { if(correct_answer==1) { output = ("Es ist eine Frau."); } else { output = ("Es sind "+correct_answer+" Frauen."); } } $('#dv-result-'+id_to_proof).html("

"+output+" Das ist eine Frauenquote von "+Math.round(100/total*correct_answer)+"%.");

// Deactivate button & slider $("#sldr-"+id_to_proof).remove(); $("#btn-"+id_to_proof).remove()

// Hide guess (a little bit) d3.selectAll('.g-'+id_to_proof).selectAll('circle').transition().duration(100).style('opacity', 0.2); // Show solution instead d3.select('#svg-'+id_to_proof+'-sol').transition().duration(100).attr('visibility','visible'); });

/**********************************************/ /* Create Figure: x-Coordinate of first figure, y-Coordinate of first figure, number of figures in total */ function createFigure(numberOfFigures,numberOfFemales,name,name_id,section) { femaleCounter = 0; // To color female figures line_drop = 16; // line drop size = 18; // Size of the whole graphic

// Div for this question var divquestion = d3.select("#female_quiz_"+section).append("div").attr("id", "qstn-"+name_id).attr("class", "qstn-div"); $('#qstn-'+name_id).append("

"+name+"");

// Draw SVG + Divs var svg = divquestion.append("svg") .attr("id","svg-"+name_id) .attr("width", size*line_drop + size) // # of figs * size, plus half of a fig left and right .attr("height", numberOfFigures/line_drop*size + size*1.5);

// For each figure... for (number = 0; number < numberOfFigures; number++) { // Calculate y y_calc = size/2 + Math.floor(number/line_drop)*size // Calculate x (every second line moved to the right) if (Math.floor(number/line_drop)%2 == 0) { x_calc = size/2 + number%line_drop*size; } else { x_calc = size/2 + number%line_drop*size + size/2; }; // Color the first figures as females if(femaleCounter

Wie viele davon sind Frauen?

Dein Tipp: '+preset_females+' von '+numberOfFigures+' totalÜberprüfen

‘); // Now the solution // Draw SVG + Divs var svg = d3.select(“#qstn-“+name_id).append(“svg”) .attr(“id”,”svg-“+name_id+”-sol” ) .attr(“width”, size*line_drop + size) // # figs * size, plus half of a fig left and right .attr(“height”, numberOfFigures/line_drop*size + size*1.5) .attr( “visibility”, “hidden”); // For each digit… for (number = 0; number < numberOfFigures; number++) { // Calculate y y_calc = size/2 + Math.floor(number/line_drop)*size // Calculate x (moved every second line to the right) if (Math.floor(number/line_drop)%2 == 0) { x_calc = size/2 + number%line_drop*size; } else { x_calc = measure/2 + count%line_drop*measure + measure/2; }; // Color the first digits as females if(femaleCounter<=numberOfFemales) { color = "#F40F97"; female Counter++; } else { color = "#979797"; } // Draw body + head var fig = svg.append('g').attr('class','g-'+name_id+'-sol'); var body = fig.append('circle') .attr('cx', x_calc) .attr('cy', y_calc+size/2) .attr('r', size/2.5) .style('fill' ,colour); var head = fig.append('circle') .attr('cx', x_calc) .attr('cy', y_calc) .attr('r', size/5).style('fill',color); }; } });

Carlo Natter
Reto Fehr

Source: Blick

Share
Published by
Ross

Recent Posts

Terror suspect Chechen ‘hanged himself’ in Russian custody Egyptian President al-Sisi has been sworn in for a third term

On the same day of the terrorist attack on the Krokus City Hall in Moscow,…

1 year ago

Locals demand tourist tax for Tenerife: “Like a cancer consuming the island”

class="sc-cffd1e67-0 iQNQmc">1/4Residents of Tenerife have had enough of noisy and dirty tourists.It's too loud, the…

1 year ago

Agreement reached: this is how much Tuchel will receive for his departure from Bayern

class="sc-cffd1e67-0 iQNQmc">1/7Packing his things in Munich in the summer: Thomas Tuchel.After just over a year,…

1 year ago

Worst earthquake in 25 years in Taiwan +++ Number of deaths increased Is Russia running out of tanks? Now ‘Chinese coffins’ are used

At least seven people have been killed and 57 injured in severe earthquakes in the…

1 year ago

Now the moon should also have its own time (and its own clocks). These 11 photos and videos show just how intense the Taiwan earthquake was

The American space agency NASA would establish a uniform lunar time on behalf of the…

1 year ago

This is how the Swiss experienced the earthquake in Taiwan: “I saw a crack in the wall”

class="sc-cffd1e67-0 iQNQmc">1/8Bode Obwegeser was surprised by the earthquake while he was sleeping. “It was a…

1 year ago