1d3.select('body').selectAppend('div.tooltip.tooltip-hidden') 2 3window.accuracies = [55, 63, 71, 79, 83, 88, 92.4, 91.5, 91, 91.5].reverse(); 4 5window.init = function($){ 6 let graphSel = d3.select('#graph').html('').append('div') 7 window.c = d3.conventions({ 8 sel: graphSel, 9 width: 460, 10 height: 460, 11 }) 12 13 function sizeGraphSel(){ 14 let clientWidth = d3.select('body').node().clientWidth 15 16 window.scale = d3.clamp(1, (c.totalWidth + 35)/(clientWidth - 10), 2) // off by one, s is 35 17 18 graphSel.st({ 19 transform: `scale(${1/scale})`, 20 transformOrigin: `0px 0px`, 21 }) 22 23 d3.select('#graph').st({height: scale == 1 ? 500 : 710}) 24 } 25 sizeGraphSel() 26 d3.select(window).on('resize', sizeGraphSel) 27 28 c.svg = c.svg.append('g').translate([.5, .5]) 29 30 window.axii = makeAxii() 31 window.sliders = makeSliders() 32 let data = makeStudents() 33 window.students = data.students 34 window.areas = makeAreas() 35 window.sel = makeSel() 36 window.slides = makeSlides() 37 38 window.gs = makeGS() 39} 40 41jQuery(document).ready(function ($) { 42 init($) 43}); 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.