Changeset 35042


Ignore:
Timestamp:
2021-04-07T00:31:19+12:00 (3 years ago)
Author:
davidb
Message:

Added in normalized plot; relocation of anchor name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/eurovision-lod/collect/eurovision/transform/pages/sgvizler.xsl

    r35037 r35042  
    1818    <xsl:import href="dataviz/voting-dataflow-tele.xsl"/>
    1919    <xsl:import href="dataviz/draw-bias.xsl"/>
     20    <xsl:import href="dataviz/draw-bias-normalized.xsl"/>
    2021   
    2122    <xsl:variable name="groupPath"><xsl:value-of select="/page/pageRequest/paramList/param[@name='group']/@value"/></xsl:variable>
     
    145146</xsl:text>
    146147          </textarea>
    147          
     148
     149          <!-- locate this anchor tag a bit ealiler in the page, so there's a bit of breathing space
     150           at the top of the page, before the sgvizler-div-outer starts -->
     151          <a name="sgvizler-plot" ><xsl:text> </xsl:text></a>
     152         
    148153          <div class="page ssq">
    149154        <button type="button" onclick="ssv_execute()">Show Visualization</button>
     
    153158      </div>
    154159
    155          
    156160      <div id="sgvizler-div-outer">
    157161        <xsl:text>Loading ...</xsl:text>
     
    235239        <xsl:call-template name="ssv-voting-dataflow-tele"/>
    236240        <xsl:call-template name="ssv-draw-bias"/>
     241        <xsl:call-template name="ssv-draw-bias-normalized"/>
    237242       
    238243       
     
    327332          </li>
    328333
     334          <li>
     335        Normalized Plot of ... The Curse of Being the Second Performer in the Lineup?<br/>
     336        <button type="button" class="load-ssq" id="load-ssv-draw-bias-normalized" onclick="ssv_load('ssv-draw-bias-normalized')">Load query above</button>
     337        <button type="button" class="exec-ssq" id="exec-ssv-draw-bias-normalized" onclick="ssv_execute()">Visualize Results</button><br/>
     338        Same as the above, only to better take account of the fact that an increasing number of countries have been taking part in the
     339        final, in this version of the plot the values have normalized to express as a percentage the number of times
     340        an entrant has won in that position of the draw, as a percentage of the totoal number of times there has been an entrant
     341        performing at that position of the draw.
     342          </li>
     343         
    329344         
    330345        </ul>
Note: See TracChangeset for help on using the changeset viewer.