Created
December 10, 2013 05:42
-
-
Save supernullset/7886201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="sugar-1.3.5-full.min.js"></script> | |
</head> | |
<body> | |
<div id="container" style="height: 900px; min-width: 310px; max-width: 1400px; margin: 0 auto"></div> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script src="http://code.highcharts.com/highcharts-more.js"></script> | |
<script src="http://code.highcharts.com/modules/exporting.js"></script> | |
<script type="text/javascript"> | |
// Color is in hexcode. Here is a link to a hex color picker: http://www.colorpicker.com/ | |
var total_population_color = "#ADD8E6"; | |
var special_needs_color = "#C0C0C0"; | |
$('#container').highcharts({ | |
chart: { | |
type: 'bubble', | |
zoomType: 'xy', | |
}, | |
plotOptions: { | |
bubble: { | |
dataLabels: { | |
enabled: true, | |
style: { | |
textShadow: 'none', | |
color: "black" | |
}, | |
formatter: function() { | |
return this.point.name; | |
} | |
}, | |
minSize: '3%', | |
maxSize: '15%' | |
} | |
}, | |
xAxis: { | |
title: { text: "School ranking by test scores" }, | |
}, | |
yAxis: { | |
tickInterval: 1, | |
min: 0, | |
max: 30, | |
title: { text: "Percentage of Students with Disabilities" }, | |
}, | |
title: { | |
text: 'Students with disabilities vs School ranking system' | |
}, | |
tooltip: { | |
formatter: function() { return "<b>Ranking:</b>" + this.point.x + "<br>" + "<b>Population:</b>" + this.point.z}, | |
}, | |
series: [ | |
{ | |
name: "Total Populations", | |
marker: { fillColor: total_population_color }, | |
// data looks like { name: "<insert name>", x coordinate, y | |
//coordinate, total population } | |
data: [ | |
{name: "Allen ES", x: 5, y: 14.786585365853657, z: 656}, | |
{name: "Agnes Risley ES", x: 3, y: 12.323232323232324, z: 495}, | |
{name: "Alice Smith ES", x: 6, y: 18.6, z: 737}, | |
{name: "Anderson ES", x: 3, y: 12.6, z: 435}, | |
{name: "Archie Clayton MS", x: 7, y: 10.3, z: 699}, | |
{name: "Bailey Charter School", x: 2, y: 10.8, z: 260}, | |
{name: "Beck ES", x: 9, y: 9.7, z: 570}, | |
{name: "Bennett ES", x: 5, y: 27.0, z: 504}, | |
{name: "Billinghurst MS", x: 10, y: 11.8, z: 957}, | |
{name: "Booth ES", x: 2, y: 20.7, z: 450}, | |
{name: "Brown ES", x: 9, y: 12.4, z: 840}, | |
{name: "Bud Beasley ES", x: 8, y: 13.6, z: 707}, | |
{name: "Cannan ES", x: 4, y: 14.1, z: 694}, | |
{name: "Caughlin Ranch ES", x: 10, y: 12.3, z: 560}, | |
{name: "Cold Springs MS", x: 5, y: 13.5, z: 765}, | |
{name: "Coral Academy of Sci Charter", x: 7, y: 5.4, z: 901}, | |
{name: "Corbett ES", x: 2, y: 12.3, z: 465}, | |
{name: "Damonte Ranch HS", x: 7, y: 10.3, z: 1479}, | |
{name: "Desert Heights ES", x: 3, y: 26.7, z: 506}, | |
{name: "Diedrichsen ES", x: 8, y: 14.7, z: 389}, | |
{name: "Dilworth MS", x: 4, y: 15.8, z: 564}, | |
{name: "Dodson ES", x: 5, y: 13.0, z: 417}, | |
{name: "Donner Springs ES", x: 6, y: 15.6, z: 648}, | |
{name: "Double Diamond ES", x: 9, y: 13.6, z: 778}, | |
{name: "Drake ES", x: 9, y: 20.6, z: 340}, | |
{name: "Duncan STEM Academy", x: 3, y: 13.8, z: 412}, | |
{name: "Dunn ES", x: 4, y: 12.6, z: 540}, | |
{name: "Elmcrest ES", x: 3, y: 12.8, z: 366}, | |
{name: "Galena HS", x: 9, y: 11.0, z: 1331}, | |
{name: "Gomes ES", x: 9, y: 14.0, z: 501}, | |
{name: "Gomm ES", x: 10, y: 11.7, z: 437}, | |
{name: "Greenbrae ES", x: 5, y: 8.6, z: 419}, | |
{name: "Hall ES", x: 9, y: 13.8, z: 630}, | |
{name: "Hidden Valley ES", x: 6, y: 20.4, z: 501}, | |
{name: "High Desert Montessori Charter", x: 3, y: 11.9, z: 363}, | |
{name: "Huffaker ES", x: 8, y: 16.2, z: 537}, | |
{name: "Hug HS", x: 3, y: 14.3, z: 1346}, | |
{name: "Hunsburger ES", x: 10, y: 6.0, z: 804}, | |
{name: "Hunter Lake ES", x: 9, y: 17.1, z: 351}, | |
{name: "I Can Do Anything Charter HS", x: 3, y: 14.6, z: 257}, | |
{name: "Incline ES", x: 5, y: 17.4, z: 419}, | |
{name: "Incline HS", x: 8, y: 12.0, z: 316}, | |
{name: "Incline MS", x: 8, y: 14.2, z: 212}, | |
{name: "Juniper ES", x: 8, y: 11.3, z: 476}, | |
{name: "Kate M Smith ES", x: 3, y: 17.5, z: 308}, | |
{name: "Kendy Depoali MS", x: 9, y: 9.1, z: 1200}, | |
{name: "Lemon Valley ES", x: 7, y: 16.1, z: 603}, | |
{name: "Lenz ES", x: 10, y: 11.0, z: 535}, | |
{name: "Lincoln Park ES", x: 4, y: 19.0, z: 380}, | |
{name: "Lorder Academy ES", x: 4, y: 11.2, z: 563}, | |
{name: "Mariposa Academy Charter", x: 4, y: 11.3, z: 150}, | |
{name: "Mathews ES", x: 4, y: 16.1, z: 752}, | |
{name: "Maxwell ES", x: 6, y: 14.8, z: 616}, | |
{name: "McQueen HS", x: 8, y: 8.8, z: 1823}, | |
{name: "Melton", x: 9, y: 12.3, z: 559}, | |
{name: "Mendive MS", x: 9, y: 12.2, z: 1043}, | |
{name: "Moss ES", x: 6, y: 20.3, z: 617}, | |
{name: "Mount Rose ES", x: 7, y: 13.6, z: 352}, | |
{name: "Natchez ES", x: 10, y: 27.8, z: 169}, | |
{name: "North Valleys HS", x: 7, y: 15.1, z: 2124}, | |
{name: "O'Brien MS", x: 3, y: 13.4, z: 658}, | |
{name: "Palmer ES", x: 4, y: 16.7, z: 502}, | |
{name: "Peavine ES", x: 7, y: 15.1, z: 350}, | |
{name: "Pine MS", x: 7, y: 10.7, z: 960}, | |
{name: "Pleasant Valley ES", x: 9, y: 15.8, z: 367}, | |
{name: "Rainshadow Charter HS", x: 1, y: 12.7, z: 134}, | |
{name: "Reed HS", x: 8, y: 10.3, z: 2010}, | |
{name: "Reno HS", x: 10, y: 8.6, z: 1684}, | |
{name: "Sepulveda ES", x: 8, y: 14.7, z: 730}, | |
{name: "Shaw MS", x: 9, y: 12.3, z: 1077}, | |
{name: "Sierra Nevada Academy Charter", x: 6, y: 10.8, z: 297}, | |
{name: "Sierra Vista ES", x: 2, y: 17.7, z: 424}, | |
{name: "Silver Lake ES", x: 8, y: 15.2, z: 579}, | |
{name: "Smithridge STEM Academy ES", x: 3, y: 14.4, z: 717}, | |
{name: "Spanish Springs ES", x: 8, y: 13.9, z: 794}, | |
{name: "Spanish Springs HS", x: 8, y: 11.2, z: 2312}, | |
{name: "Sparks HS", x: 4, y: 15.1, z: 1133}, | |
{name: "Sparks MS", x: 3, y: 17.3, z: 684}, | |
{name: "Stead ES", x: 5, y: 11.4, z: 734}, | |
{name: "Sun Valley ES", x: 3, y: 12.8, z: 604}, | |
{name: "Swope MS", x: 10, y: 9.1, z: 726}, | |
{name: "Taylor MS", x: 5, y: 15.1, z: 604}, | |
{name: "Towles ES", x: 8, y: 16.2, z: 414}, | |
{name: "Traner MS", x: 4, y: 15.1, z: 616}, | |
{name: "Van Gorder ES", x: 10, y: 10.9, z: 834}, | |
{name: "Vaughn MS", x: 2, y: 16.6, z: 518}, | |
{name: "Verdi ES", x: 4, y: 11.8, z: 186}, | |
{name: "Veterans Memorial STEM Academy", x: 4, y: 12.9, z: 411}, | |
{name: "Warner ES", x: 3, y: 22.5, z: 405}, | |
{name: "Washoe HS", x: 2, y: 13.4, z: 809}, | |
{name: "Westergard ES", x: 9, y: 9.4, z: 690}, | |
{name: "Whitehead ES", x: 9, y: 12.5, z: 413}, | |
{name: "Winnemucca ES", x: 6, y: 21.4, z: 623}, | |
{name: "Wooster HS", x: 6, y: 10.9, z: 1069}, | |
{name: "Mitchell ES", x: 1, y: 9.3, z: 399}, | |
] | |
}, | |
{ | |
name: "Special Needs", | |
marker: { fillColor: special_needs_color }, | |
data: [ | |
{name: "Allen ES", x: 5, y: 14.786585365853657, z: 97}, | |
{name: "Agnes Risley ES", x: 3, y: 12.323232323232324, z: 61}, | |
{name: "Alice Smith ES", x: 6, y: 18.6, z: 137}, | |
{name: "Anderson ES", x: 3, y: 12.6, z: 55}, | |
{name: "Archie Clayton MS", x: 7, y: 10.3, z: 69}, | |
{name: "Bailey Charter School", x: 2, y: 10.8, z: 28}, | |
{name: "Beck ES", x: 9, y: 9.7, z: 55}, | |
{name: "Bennett ES", x: 5, y: 27.0, z: 136}, | |
{name: "Billinghurst MS", x: 10, y: 11.8, z: 113}, | |
{name: "Booth ES", x: 2, y: 20.7, z: 93}, | |
{name: "Brown ES", x: 9, y: 12.4, z: 104}, | |
{name: "Bud Beasley ES", x: 8, y: 13.6, z: 96}, | |
{name: "Cannan ES", x: 4, y: 14.1, z: 98}, | |
{name: "Caughlin Ranch ES", x: 10, y: 12.3, z: 69}, | |
{name: "Cold Springs MS", x: 5, y: 13.5, z: 103}, | |
{name: "Coral Academy of Sci Charter", x: 7, y: 5.4, z: 49}, | |
{name: "Corbett ES", x: 2, y: 12.3, z: 57}, | |
{name: "Damonte Ranch HS", x: 7, y: 10.3, z: 153}, | |
{name: "Desert Heights ES", x: 3, y: 26.7, z: 135}, | |
{name: "Diedrichsen ES", x: 8, y: 14.7, z: 57}, | |
{name: "Dilworth MS", x: 4, y: 15.8, z: 89}, | |
{name: "Dodson ES", x: 5, y: 13.0, z: 54}, | |
{name: "Donner Springs ES", x: 6, y: 15.6, z: 101}, | |
{name: "Double Diamond ES", x: 9, y: 13.6, z: 106}, | |
{name: "Drake ES", x: 9, y: 20.6, z: 70}, | |
{name: "Duncan STEM Academy", x: 3, y: 13.8, z: 57}, | |
{name: "Dunn ES", x: 4, y: 12.6, z: 68}, | |
{name: "Elmcrest ES", x: 3, y: 12.8, z: 47}, | |
{name: "Galena HS", x: 9, y: 11.0, z: 147}, | |
{name: "Gomes ES", x: 9, y: 14.0, z: 70}, | |
{name: "Gomm ES", x: 10, y: 11.7, z: 51}, | |
{name: "Greenbrae ES", x: 5, y: 8.6, z: 36}, | |
{name: "Hall ES", x: 9, y: 13.8, z: 87}, | |
{name: "Hidden Valley ES", x: 6, y: 20.4, z: 102}, | |
{name: "High Desert Montessori Charter", x: 3, y: 11.9, z: 43}, | |
{name: "Huffaker ES", x: 8, y: 16.2, z: 87}, | |
{name: "Hug HS", x: 3, y: 14.3, z: 192}, | |
{name: "Hunsburger ES", x: 10, y: 6.0, z: 48}, | |
{name: "Hunter Lake ES", x: 9, y: 17.1, z: 60}, | |
{name: "I Can Do Anything Charter HS", x: 3, y: 14.6, z: 40}, | |
{name: "Incline ES", x: 5, y: 17.4, z: 73}, | |
{name: "Incline HS", x: 8, y: 12.0, z: 38}, | |
{name: "Incline MS", x: 8, y: 14.2, z: 30}, | |
{name: "Juniper ES", x: 8, y: 11.3, z: 54}, | |
{name: "Kate M Smith ES", x: 3, y: 17.5, z: 54}, | |
{name: "Kendy Depoali MS", x: 9, y: 9.1, z: 109}, | |
{name: "Lemon Valley ES", x: 7, y: 16.1, z: 97}, | |
{name: "Lenz ES", x: 10, y: 11.0, z: 59}, | |
{name: "Lincoln Park ES", x: 4, y: 19.0, z: 72}, | |
{name: "Lorder Academy ES", x: 4, y: 11.2, z: 63}, | |
{name: "Mariposa Academy Charter", x: 4, y: 11.3, z: 17}, | |
{name: "Mathews ES", x: 4, y: 16.1, z: 121}, | |
{name: "Maxwell ES", x: 6, y: 14.8, z: 91}, | |
{name: "McQueen HS", x: 8, y: 8.8, z: 160}, | |
{name: "Melton", x: 9, y: 12.3, z: 69}, | |
{name: "Mendive MS", x: 9, y: 12.2, z: 127}, | |
{name: "Moss ES", x: 6, y: 20.3, z: 125}, | |
{name: "Mount Rose ES", x: 7, y: 13.6, z: 48}, | |
{name: "Natchez ES", x: 10, y: 27.8, z: 47}, | |
{name: "North Valleys HS", x: 7, y: 15.1, z: 321}, | |
{name: "O'Brien MS", x: 3, y: 13.4, z: 88}, | |
{name: "Palmer ES", x: 4, y: 16.7, z: 84}, | |
{name: "Peavine ES", x: 7, y: 15.1, z: 53}, | |
{name: "Pine MS", x: 7, y: 10.7, z: 103}, | |
{name: "Pleasant Valley ES", x: 9, y: 15.8, z: 58}, | |
{name: "Rainshadow Charter HS", x: 1, y: 12.7, z: 17}, | |
{name: "Reed HS", x: 8, y: 10.3, z: 206}, | |
{name: "Reno HS", x: 10, y: 8.6, z: 145}, | |
{name: "Sepulveda ES", x: 8, y: 14.7, z: 107}, | |
{name: "Shaw MS", x: 9, y: 12.3, z: 132}, | |
{name: "Sierra Nevada Academy Charter", x: 6, y: 10.8, z: 32}, | |
{name: "Sierra Vista ES", x: 2, y: 17.7, z: 75}, | |
{name: "Silver Lake ES", x: 8, y: 15.2, z: 88}, | |
{name: "Smithridge STEM Academy ES", x: 3, y: 14.4, z: 103}, | |
{name: "Spanish Springs ES", x: 8, y: 13.9, z: 110}, | |
{name: "Spanish Springs HS", x: 8, y: 11.2, z: 259}, | |
{name: "Sparks HS", x: 4, y: 15.1, z: 171}, | |
{name: "Sparks MS", x: 3, y: 17.3, z: 118}, | |
{name: "Stead ES", x: 5, y: 11.4, z: 84}, | |
{name: "Sun Valley ES", x: 3, y: 12.8, z: 77}, | |
{name: "Swope MS", x: 10, y: 9.1, z: 66}, | |
{name: "Taylor MS", x: 5, y: 15.1, z: 91}, | |
{name: "Towles SS", x: 8, y: 16.2, z: 67}, | |
{name: "Traner MS", x: 4, y: 15.1, z: 93}, | |
{name: "Van Gorder ES", x: 10, y: 10.9, z: 91}, | |
{name: "Vaughn MS", x: 2, y: 16.6, z: 96}, | |
{name: "Verdi ES", x: 4, y: 11.8, z: 22}, | |
{name: "Veterans Memorial STEM Academy", x: 4, y: 12.9, z: 53}, | |
{name: "Warner ES", x: 3, y: 22.5, z: 91}, | |
{name: "Washoe HS", x: 2, y: 13.4, z: 105}, | |
{name: "Westergard ES", x: 9, y: 9.4, z: 65}, | |
{name: "Whitehead ES", x: 9, y: 12.5, z: 54}, | |
{name: "Winnemucca ES", x: 6, y: 21.4, z: 133}, | |
{name: "Wooster HS", x: 6, y: 10.9, z: 175}, | |
{name: "Mitchell ES", x: 1, y: 9.3, z: 37}, | |
] | |
}, | |
] | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment