This is a fork of timelyportfolio’s gist, which timelyportfolio had forked from d3noob's example to allow a csv as the data source... Awesome work by those guys!
Still a long way to go, but this is a great start!
This is a fork of timelyportfolio’s gist, which timelyportfolio had forked from d3noob's example to allow a csv as the data source... Awesome work by those guys!
Still a long way to go, but this is a great start!
d3.tip=function(){function t(t){v=d(t),w=v.createSVGPoint(),document.body.appendChild(g)}function e(){return"n"}function n(){return[0,0]}function r(){return" "}function o(){var t=y();return{top:t.n.y-g.offsetHeight,left:t.n.x-g.offsetWidth/2}}function s(){var t=y();return{top:t.s.y,left:t.s.x-g.offsetWidth/2}}function u(){var t=y();return{top:t.e.y-g.offsetHeight/2,left:t.e.x}}function f(){var t=y();return{top:t.w.y-g.offsetHeight/2,left:t.w.x-g.offsetWidth}}function l(){var t=y();return{top:t.nw.y-g.offsetHeight,left:t.nw.x-g.offsetWidth}}function i(){var t=y();return{top:t.ne.y-g.offsetHeight,left:t.ne.x}}function a(){var t=y();return{top:t.sw.y,left:t.sw.x-g.offsetWidth}}function c(){var t=y();return{top:t.se.y,left:t.e.x}}function m(){var t=document.createElement("div");return t.style.position="absolute",t.style.display="none",t.style.boxSizing="border-box",t}function d(t){return t=t.node(),"svg"==t.tagName.toLowerCase()?t:t.ownerSVGElement}function y(){var t=d3.event.target,e={},n=t.getScreenCTM(),r=t.ge |
key | value | date | scenario | |
---|---|---|---|---|
Group A | 20106 | 2014 | 1 | |
Group A | 20479 | 2015 | 1 | |
Group A | 20479 | 2016 | 1 | |
Group A | 20479 | 2017 | 1 | |
Group A | 20479 | 2018 | 1 | |
Group A | 20479 | 2019 | 1 | |
Group A | 20479 | 2020 | 1 | |
Group A | 20479 | 2021 | 1 | |
Group A | 20479 | 2022 | 1 |
label | value | |
---|---|---|
CA-Residents | 76 | |
Non-Residents | 24 |
{ | |
"name":"SAIT", | |
"children": [ | |
{ | |
"name":"A", | |
"children": [ | |
{"name":"DOS", | |
"children": [ | |
{"name":"CalCentral student portal","size":600} | |
] |
{ | |
"name":"SAIT", | |
"id":1, | |
"children": [ | |
{ | |
"name":"Highest Ranking Apps", | |
"id":2, | |
"class":"A", | |
"children": [ | |
{"name":"ProSAM","size":1100,"id":5,"class":"FASO"}, |
{ | |
"nodes": [ | |
{"x":562.7949460885422,"y":76.86704099939692,"type":"topic","name":"Global (Public) Health","id":0}, | |
{"x":696.8245384689717,"y":136.16769696694627,"type":"topic","name":"Aging","id":1}, | |
{"x":672.7754088754202,"y":371.3425657600058,"type":"topic","name":"Precision Medicine","id":2}, | |
{"x":693.471368464311,"y":285.2189919274104,"type":"topic","name":"Data Science","id":3}, | |
{"x":503.5218837663822,"y":278.90647515991435,"type":"topic","name":"Global Studies","id":4}, | |
{"x":462.9478186620898,"y":124.69184706956969,"type":"topic","name":"Mathematics","id":5}, | |
{"x":629.2678749809958,"y":195.9994137782973,"type":"topic","name":"Inequality","id":6}, | |
{"x":357.9744302805252,"y":304.40471564810105,"type":"topic","name":"Cybersecurity","id":7}, |
{ | |
"name": "Student Services Technology", | |
"id": 1, | |
"class": "SST", | |
"children": [ | |
{ | |
"name": "Admissions", | |
"id": 2, | |
"class": "Admissions-1", | |
"children": [ |
courseNum | date | enrollCount | enrollLimit | |
---|---|---|---|---|
BIOLOGY 1A | April 10 | 26 | 840 | |
BIOLOGY 1A | April 11 | 45 | 840 | |
BIOLOGY 1A | April 12 | 60 | 840 | |
BIOLOGY 1A | April 13 | 76 | 840 | |
BIOLOGY 1A | April 14 | 86 | 840 | |
BIOLOGY 1A | April 16 | 88 | 840 | |
BIOLOGY 1A | April 17 | 123 | 840 | |
BIOLOGY 1A | April 19 | 155 | 840 | |
BIOLOGY 1A | April 21 | 157 | 840 |
courseNum | courseTitle | date | enrollCount | enrollLimit | |
---|---|---|---|---|---|
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 10 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 11 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 12 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 13 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 14 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 16 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 17 | 0 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 19 | 1 | 30 | |
AFRICAM 158A | POETRY 4 PEOP:TEACH | April 21 | 1 | 30 |