Skip to content

Instantly share code, notes, and snippets.

@reinholdsson
Created June 11, 2013 11:55
Show Gist options
  • Save reinholdsson/5756284 to your computer and use it in GitHub Desktop.
Save reinholdsson/5756284 to your computer and use it in GitHub Desktop.
Highcharts Test
<!doctype HTML>
<html>
<head>
<link rel='stylesheet' href="http://netdna.bootstrapcdn.com/bootswatch/2.3.1/cosmo/bootstrap.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css" >
<link rel='stylesheet' href="http://twitter.github.io/bootstrap/assets/js/google-code-prettify/prettify.css">
<script src='http://code.jquery.com/jquery-1.9.1.min.js' type='text/javascript'></script>
<script src='http://code.highcharts.com/highcharts.js' type='text/javascript'></script>
<script src='http://code.highcharts.com/highcharts-more.js' type='text/javascript'></script>
<style>
.rChart {
display: block
margin: auto auto;
width: 800px;
height: 400px;
}
body {
margin-top: 60px;
}
</style>
</head>
<body>
<div class='container'>
<div class='row'>
<div class='span9'>
<div id='chart135f1edd1f1f' class='rChart nvd3Plot highcharts'></div>
<br/>
</div>
</div>
</div>
<script type='text/javascript'>
(function($){
$(function () {
var chart = new Highcharts.Chart({
"dom": "chart135f1edd1f1f",
"width": 800,
"height": 400,
"credits": {
"href": null,
"text": null
},
"title": {
"text": "Elected members of the parliament of Sweden 2010"
},
"yAxis": {
"title": {
"text": "Number of votes"
},
"type": "logarithmic"
},
"series": [
{
"data": [
{
"x": 43,
"y": 710,
"category": "C",
"name": "Roger Tiefensee"
},
{
"x": 44,
"y": 794,
"category": "C",
"name": "Per Lodenius"
},
{
"x": 27,
"y": 4919,
"category": "C",
"name": "Annie Johansson"
},
{
"x": 55,
"y": 928,
"category": "C",
"name": "Kerstin Lundgren"
},
{
"x": 57,
"y": 332,
"category": "C",
"name": "Anders Ahlgren"
},
{
"x": 51,
"y": 1562,
"category": "C",
"name": "Anders Åkesson"
},
{
"x": 38,
"y": 912,
"category": "C",
"name": "Helena Lindahl"
},
{
"x": 45,
"y": 0,
"category": "C",
"name": "Annika Qarlsson"
},
{
"x": 36,
"y": 502,
"category": "C",
"name": "Johan Linander"
},
{
"x": 66,
"y": 1288,
"category": "C",
"name": "Per-Ingvar Johnsson"
},
{
"x": 52,
"y": 592,
"category": "C",
"name": "Anders Flanking"
},
{
"x": 45,
"y": 1989,
"category": "C",
"name": "Ulrika Carlsson"
},
{
"x": 49,
"y": 1008,
"category": "C",
"name": "Anders W Jonsson"
},
{
"x": 53,
"y": 3488,
"category": "C",
"name": "Per Åsling"
},
{
"x": 55,
"y": 1344,
"category": "C",
"name": "Solveig Zander"
},
{
"x": 41,
"y": 1531,
"category": "C",
"name": "Erik A Eriksson"
},
{
"x": 23,
"y": 1268,
"category": "C",
"name": "Emil Källström"
},
{
"x": 53,
"y": 2810,
"category": "C",
"name": "Eskil Erlandsson"
},
{
"x": 34,
"y": 0,
"category": "C",
"name": "Abir Al-Sahlani"
},
{
"x": 63,
"y": 1660,
"category": "C",
"name": "Staffan Danielsson"
},
{
"x": 52,
"y": 1510,
"category": "C",
"name": "Åsa Torstensson"
},
{
"x": 32,
"y": 1725,
"category": "C",
"name": "Fredrick Federley"
},
{
"x": 49,
"y": 1087,
"category": "C",
"name": "Ola Johansson"
}
],
"type": "scatter",
"name": "C"
},
{
"data": [
{
"x": 33,
"y": 1757,
"category": "FP",
"name": "Nina Larsson"
},
{
"x": 61,
"y": 855,
"category": "FP",
"name": "Anita Brodén"
},
{
"x": 42,
"y": 1209,
"category": "FP",
"name": "Johan Pehrson"
},
{
"x": 47,
"y": 446,
"category": "FP",
"name": "Hans Backman"
},
{
"x": 33,
"y": 847,
"category": "FP",
"name": "Karin Granbom Ellison"
},
{
"x": 48,
"y": 12204,
"category": "FP",
"name": "Jan Björklund"
},
{
"x": 35,
"y": 3571,
"category": "FP",
"name": "Birgitta Ohlsson"
},
{
"x": 64,
"y": 567,
"category": "FP",
"name": "Carl B Hamilton"
},
{
"x": 77,
"y": 785,
"category": "FP",
"name": "Barbro Westerholm"
},
{
"x": 32,
"y": 1146,
"category": "FP",
"name": "Roger Haddad"
},
{
"x": 48,
"y": 350,
"category": "FP",
"name": "Stefan Käll"
},
{
"x": 55,
"y": 0,
"category": "FP",
"name": "Ismail Kamil"
},
{
"x": 48,
"y": 353,
"category": "FP",
"name": "Nina Lundström"
},
{
"x": 38,
"y": 313,
"category": "FP",
"name": "Erik Ullenhag"
},
{
"x": 57,
"y": 1014,
"category": "FP",
"name": "Lars Tysklind"
},
{
"x": 66,
"y": 0,
"category": "FP",
"name": "Jan Ertsborn"
},
{
"x": 47,
"y": 0,
"category": "FP",
"name": "Eva Flyborg"
},
{
"x": 39,
"y": 411,
"category": "FP",
"name": "Emma Carlsson Löfdahl"
},
{
"x": 56,
"y": 561,
"category": "FP",
"name": "Christer Winbäck"
},
{
"x": 46,
"y": 702,
"category": "FP",
"name": "Allan Widman"
},
{
"x": 41,
"y": 907,
"category": "FP",
"name": "Christer Nylander"
},
{
"x": 64,
"y": 645,
"category": "FP",
"name": "Ulf Nilsson"
},
{
"x": 44,
"y": 754,
"category": "FP",
"name": "Tina Acketoft"
},
{
"x": 54,
"y": 849,
"category": "FP",
"name": "Maria Lundqvist-Brömster"
}
],
"type": "scatter",
"name": "FP"
},
{
"data": [
{
"x": 58,
"y": 551,
"category": "KD",
"name": "Lars Gustafsson"
},
{
"x": 55,
"y": 1241,
"category": "KD",
"name": "Anders Andersson"
},
{
"x": 54,
"y": 4962,
"category": "KD",
"name": "Maria Larsson"
},
{
"x": 50,
"y": 1198,
"category": "KD",
"name": "Stefan Attefall"
},
{
"x": 51,
"y": 370,
"category": "KD",
"name": "Désirée Pethrus Engström"
},
{
"x": 59,
"y": 1096,
"category": "KD",
"name": "Yvonne Andersson"
},
{
"x": 46,
"y": 1343,
"category": "KD",
"name": "Anders Sellström"
},
{
"x": 51,
"y": 9915,
"category": "KD",
"name": "Göran Hägglund"
},
{
"x": 63,
"y": 844,
"category": "KD",
"name": "Mats Odell"
},
{
"x": 32,
"y": 571,
"category": "KD",
"name": "Emma Henriksson"
},
{
"x": 46,
"y": 1136,
"category": "KD",
"name": "Robert Halef"
},
{
"x": 43,
"y": 2009,
"category": "KD",
"name": "Mikael Oscarsson"
},
{
"x": 56,
"y": 3208,
"category": "KD",
"name": "Annelie Enochson"
},
{
"x": 59,
"y": 4280,
"category": "KD",
"name": "Roland Utbult"
},
{
"x": 52,
"y": 301,
"category": "KD",
"name": "Magnus Sjödahl"
},
{
"x": 54,
"y": 1194,
"category": "KD",
"name": "Tuve Skånberg"
},
{
"x": 46,
"y": 0,
"category": "KD",
"name": "Penilla Gunther"
},
{
"x": 49,
"y": 0,
"category": "KD",
"name": "Annika Eclund"
},
{
"x": 58,
"y": 1198,
"category": "KD",
"name": "Lars-Axel Nordell"
}
],
"type": "scatter",
"name": "KD"
},
{
"data": [
{
"x": 41,
"y": 0,
"category": "M",
"name": "Johan Johansson"
},
{
"x": 47,
"y": 966,
"category": "M",
"name": "Ulrik Nilsson"
},
{
"x": 40,
"y": 1684,
"category": "M",
"name": "Cecilie Tenfjord-Toftby"
},
{
"x": 33,
"y": 671,
"category": "M",
"name": "Linda Andersson"
},
{
"x": 56,
"y": 0,
"category": "M",
"name": "Thomas Finnborg"
},
{
"x": 36,
"y": 0,
"category": "M",
"name": "Gustaf Hoffstedt"
},
{
"x": 40,
"y": 728,
"category": "M",
"name": "Patrick Reslow"
},
{
"x": 34,
"y": 554,
"category": "M",
"name": "Olof Lavesson"
},
{
"x": 51,
"y": 2897,
"category": "M",
"name": "Ewa Thalén Finné"
},
{
"x": 34,
"y": 2271,
"category": "M",
"name": "Anders Hansson"
},
{
"x": 34,
"y": 2605,
"category": "M",
"name": "Edward Riedl"
},
{
"x": 53,
"y": 0,
"category": "M",
"name": "Lena Asplund"
},
{
"x": 45,
"y": 119311,
"category": "M",
"name": "Fredrik Reinfeldt"
},
{
"x": 54,
"y": 485,
"category": "M",
"name": "Beatrice Ask"
},
{
"x": 49,
"y": 420,
"category": "M",
"name": "Ewa Björling"
},
{
"x": 37,
"y": 0,
"category": "M",
"name": "Ulrika Karlsson"
},
{
"x": 48,
"y": 4547,
"category": "M",
"name": "Helena Bouveng"
},
{
"x": 60,
"y": 2454,
"category": "M",
"name": "Katarina Brännström"
},
{
"x": 43,
"y": 2563,
"category": "M",
"name": "Annicka Engblom"
},
{
"x": 46,
"y": 0,
"category": "M",
"name": "Krister Hammarbergh"
},
{
"x": 36,
"y": 3830,
"category": "M",
"name": "Tobias Billström"
},
{
"x": 63,
"y": 0,
"category": "M",
"name": "Cristina Husmark Pehrsson"
},
{
"x": 54,
"y": 2476,
"category": "M",
"name": "Lars-Arne Staxäng"
},
{
"x": 55,
"y": 1956,
"category": "M",
"name": "Mikael Cederbratt"
},
{
"x": 37,
"y": 5669,
"category": "M",
"name": "Cecilia Widegren"
},
{
"x": 49,
"y": 4421,
"category": "M",
"name": "Jan-Evert Rådhström"
},
{
"x": 39,
"y": 2481,
"category": "M",
"name": "Jessica Polfjärd"
},
{
"x": 48,
"y": 2037,
"category": "M",
"name": "Saila Quicklund"
},
{
"x": 52,
"y": 1487,
"category": "M",
"name": "Peter Jutterström"
},
{
"x": 67,
"y": 1015,
"category": "M",
"name": "Staffan Anger"
},
{
"x": 32,
"y": 441,
"category": "M",
"name": "Åsa Coenraads"
},
{
"x": 59,
"y": 2122,
"category": "M",
"name": "Bengt-Anders Johansson"
},
{
"x": 41,
"y": 820,
"category": "M",
"name": "Camilla Waltersson Grönvall"
},
{
"x": 52,
"y": 1463,
"category": "M",
"name": "Per Bill"
},
{
"x": 37,
"y": 1970,
"category": "M",
"name": "Jessika Vilhelmsson"
},
{
"x": 31,
"y": 477,
"category": "M",
"name": "Marta Obminska"
},
{
"x": 63,
"y": 1855,
"category": "M",
"name": "Ann-Britt Åsebol"
},
{
"x": 24,
"y": 1333,
"category": "M",
"name": "Carl-Oskar Bohlin"
},
{
"x": 59,
"y": 1066,
"category": "M",
"name": "Eva Bengtson Skogsberg"
},
{
"x": 54,
"y": 321,
"category": "M",
"name": "Lena Adelsohn Liljeroth"
},
{
"x": 47,
"y": 2042,
"category": "M",
"name": "Maria Abrahamsson"
},
{
"x": 33,
"y": 551,
"category": "M",
"name": "Sofia Arkelsten"
},
{
"x": 58,
"y": 52,
"category": "M",
"name": "Mats Johansson"
},
{
"x": 30,
"y": 322,
"category": "M",
"name": "Johan Forssell"
},
{
"x": 36,
"y": 330,
"category": "M",
"name": "Gustav Blix"
},
{
"x": 22,
"y": 666,
"category": "M",
"name": "Jessica Rosencrantz"
},
{
"x": 25,
"y": 351,
"category": "M",
"name": "Amir Adan"
},
{
"x": 47,
"y": 607,
"category": "M",
"name": "Hillevi Engström"
},
{
"x": 40,
"y": 474,
"category": "M",
"name": "Anna Kinberg Batra"
},
{
"x": 44,
"y": 219,
"category": "M",
"name": "Karin Enström"
},
{
"x": 50,
"y": 259,
"category": "M",
"name": "Göran Pettersson"
},
{
"x": 48,
"y": 232,
"category": "M",
"name": "Isabella Jernbeck"
},
{
"x": 23,
"y": 363,
"category": "M",
"name": "Hanif Bali"
},
{
"x": 28,
"y": 162,
"category": "M",
"name": "Fredrik Schulte"
},
{
"x": 59,
"y": 151,
"category": "M",
"name": "Marietta de Pourbaix-Lundin"
},
{
"x": 42,
"y": 85,
"category": "M",
"name": "Mikael Sandström"
},
{
"x": 32,
"y": 242,
"category": "M",
"name": "Eliza Roszkowska Öberg"
},
{
"x": 32,
"y": 179,
"category": "M",
"name": "Karl Sigfrid"
},
{
"x": 52,
"y": 177,
"category": "M",
"name": "Anti Avsan"
},
{
"x": 69,
"y": 228,
"category": "M",
"name": "Rune Wikström"
},
{
"x": 38,
"y": 467,
"category": "M",
"name": "Metin Ataseven"
},
{
"x": 48,
"y": 519,
"category": "M",
"name": "Pia Hallström"
},
{
"x": 45,
"y": 1553,
"category": "M",
"name": "Sten Bergheden"
},
{
"x": 61,
"y": 1266,
"category": "M",
"name": "Lars Elinderson"
},
{
"x": 56,
"y": 1537,
"category": "M",
"name": "Maria Plass"
},
{
"x": 45,
"y": 0,
"category": "M",
"name": "Stefan Caplan"
},
{
"x": 37,
"y": 0,
"category": "M",
"name": "Jonas Jacobsson"
},
{
"x": 34,
"y": 1989,
"category": "M",
"name": "Christian Holm"
},
{
"x": 25,
"y": 1066,
"category": "M",
"name": "Johan Hultberg"
},
{
"x": 59,
"y": 3211,
"category": "M",
"name": "Per Westerberg"
},
{
"x": 51,
"y": 999,
"category": "M",
"name": "Lotta Finstorp"
},
{
"x": 51,
"y": 609,
"category": "M",
"name": "Walburga Habsburg Douglas"
},
{
"x": 47,
"y": 4603,
"category": "M",
"name": "Gunilla Carlsson"
},
{
"x": 54,
"y": 1351,
"category": "M",
"name": "Finn Bengtsson"
},
{
"x": 37,
"y": 904,
"category": "M",
"name": "Andreas Norlén"
},
{
"x": 43,
"y": 1369,
"category": "M",
"name": "Gunnar Axén"
},
{
"x": 53,
"y": 1959,
"category": "M",
"name": "Ulf Berg"
},
{
"x": 39,
"y": 2269,
"category": "M",
"name": "Jan R Andersson"
},
{
"x": 29,
"y": 926,
"category": "M",
"name": "Jenny Petersson"
},
{
"x": 51,
"y": 1046,
"category": "M",
"name": "Ellen Juntti"
},
{
"x": 34,
"y": 5088,
"category": "M",
"name": "Henrik von Sydow"
},
{
"x": 53,
"y": 1053,
"category": "M",
"name": "Anne Marie Brodén"
},
{
"x": 53,
"y": 0,
"category": "M",
"name": "Michael Svensson"
},
{
"x": 45,
"y": 1252,
"category": "M",
"name": "Elisabeth Björnsdotter Rahm"
},
{
"x": 44,
"y": 769,
"category": "M",
"name": "Ann-Charlotte Hammar Johnsson"
},
{
"x": 64,
"y": 883,
"category": "M",
"name": "Göran Montan"
},
{
"x": 41,
"y": 838,
"category": "M",
"name": "Boriana Åberg"
},
{
"x": 54,
"y": 1199,
"category": "M",
"name": "Christer Akej"
},
{
"x": 45,
"y": 0,
"category": "M",
"name": "Hans Wallmark"
},
{
"x": 44,
"y": 0,
"category": "M",
"name": "Anette Åkesson"
},
{
"x": 48,
"y": 5166,
"category": "M",
"name": "Cecilia Magnusson"
},
{
"x": 33,
"y": 2502,
"category": "M",
"name": "Lars Hjälmered"
},
{
"x": 53,
"y": 2225,
"category": "M",
"name": "Susanna Haby"
},
{
"x": 48,
"y": 738,
"category": "M",
"name": "Hans Rothenberg"
},
{
"x": 44,
"y": 772,
"category": "M",
"name": "Abdirizak Waberi"
},
{
"x": 44,
"y": 459,
"category": "M",
"name": "Jörgen Andersson"
},
{
"x": 42,
"y": 1588,
"category": "M",
"name": "Henrik Ripa"
},
{
"x": 32,
"y": 4082,
"category": "M",
"name": "Tomas Tobé"
},
{
"x": 62,
"y": 1154,
"category": "M",
"name": "Margareta B Kjellin"
},
{
"x": 43,
"y": 739,
"category": "M",
"name": "Lars Beckman"
},
{
"x": 53,
"y": 602,
"category": "M",
"name": "Gunilla Nordgren"
},
{
"x": 49,
"y": 1238,
"category": "M",
"name": "Jan Ericson"
},
{
"x": 61,
"y": 0,
"category": "M",
"name": "Eva Lohman"
},
{
"x": 61,
"y": 700,
"category": "M",
"name": "Gustav Nilsson"
},
{
"x": 42,
"y": 1243,
"category": "M",
"name": "Elisabeth Svantesson"
},
{
"x": 30,
"y": 727,
"category": "M",
"name": "Oskar Öholm"
},
{
"x": 50,
"y": 335,
"category": "M",
"name": "Lotta Olsson"
}
],
"type": "scatter",
"name": "M"
},
{
"data": [
{
"x": 50,
"y": 0,
"category": "MP",
"name": "Tina Ehn"
},
{
"x": 50,
"y": 0,
"category": "MP",
"name": "Gunvor G Ericson"
},
{
"x": 27,
"y": 6220,
"category": "MP",
"name": "Gustav Fridolin"
},
{
"x": 31,
"y": 317,
"category": "MP",
"name": "Magnus Ehrencrona"
},
{
"x": 51,
"y": 877,
"category": "MP",
"name": "Jabar Amin"
},
{
"x": 41,
"y": 605,
"category": "MP",
"name": "Ulf Holm"
},
{
"x": 58,
"y": 439,
"category": "MP",
"name": "Jan Lindholm"
},
{
"x": 60,
"y": 479,
"category": "MP",
"name": "Kew Nordqvist"
},
{
"x": 52,
"y": 640,
"category": "MP",
"name": "Bodil Ceballos"
},
{
"x": 52,
"y": 5394,
"category": "MP",
"name": "Peter Eriksson"
},
{
"x": 48,
"y": 225,
"category": "MP",
"name": "Esabelle Dingizian"
},
{
"x": 55,
"y": 320,
"category": "MP",
"name": "Mats Pertoft"
},
{
"x": 48,
"y": 1057,
"category": "MP",
"name": "Annika Lillemets"
},
{
"x": 25,
"y": 2142,
"category": "MP",
"name": "Maria Ferm"
},
{
"x": 39,
"y": 1050,
"category": "MP",
"name": "Mehmet Kaplan"
},
{
"x": 38,
"y": 396,
"category": "MP",
"name": "Åsa Romson"
},
{
"x": 39,
"y": 213,
"category": "MP",
"name": "Per Bolund"
},
{
"x": 43,
"y": 0,
"category": "MP",
"name": "Jonas Eriksson"
},
{
"x": 28,
"y": 0,
"category": "MP",
"name": "Helena Leander"
},
{
"x": 65,
"y": 267,
"category": "MP",
"name": "Agneta Luttropp"
},
{
"x": 51,
"y": 0,
"category": "MP",
"name": "Stina Bergström"
},
{
"x": 52,
"y": 433,
"category": "MP",
"name": "Agneta Börjesson"
},
{
"x": 53,
"y": 557,
"category": "MP",
"name": "Peter Rådberg"
},
{
"x": 55,
"y": 602,
"category": "MP",
"name": "Valter Mutt"
},
{
"x": 27,
"y": 2751,
"category": "MP",
"name": "Lise Nordin"
}
],
"type": "scatter",
"name": "MP"
},
{
"data": [
{
"x": 59,
"y": 924,
"category": "S",
"name": "Christina Oskarsson"
},
{
"x": 47,
"y": 567,
"category": "S",
"name": "Jörgen Hellman"
},
{
"x": 48,
"y": 832,
"category": "S",
"name": "Christer Adelsbo"
},
{
"x": 55,
"y": 827,
"category": "S",
"name": "Kerstin Haglö"
},
{
"x": 42,
"y": 1426,
"category": "S",
"name": "Peter Jeppsson"
},
{
"x": 52,
"y": 991,
"category": "S",
"name": "Suzanne Svensson"
},
{
"x": 56,
"y": 1079,
"category": "S",
"name": "Thomas Strand"
},
{
"x": 53,
"y": 1388,
"category": "S",
"name": "Catharina Bråkenhielm"
},
{
"x": 62,
"y": 969,
"category": "S",
"name": "Kerstin Engle"
},
{
"x": 57,
"y": 2648,
"category": "S",
"name": "Karin Åström"
},
{
"x": 33,
"y": 1754,
"category": "S",
"name": "Fredrik Lundh Sammeli"
},
{
"x": 56,
"y": 877,
"category": "S",
"name": "Leif Pettersson"
},
{
"x": 33,
"y": 2763,
"category": "S",
"name": "Hannah Bergstedt"
},
{
"x": 32,
"y": 1063,
"category": "S",
"name": "Elin Lundgren"
},
{
"x": 55,
"y": 17674,
"category": "S",
"name": "Sven-Erik Bucht"
},
{
"x": 58,
"y": 1628,
"category": "S",
"name": "Jan-Olof Larsson"
},
{
"x": 62,
"y": 1409,
"category": "S",
"name": "Kurt Kvarnström"
},
{
"x": 63,
"y": 849,
"category": "S",
"name": "Carin Runeson"
},
{
"x": 54,
"y": 2469,
"category": "S",
"name": "Helene Petersson"
},
{
"x": 43,
"y": 1428,
"category": "S",
"name": "Jasenko Omanovic"
},
{
"x": 55,
"y": 5496,
"category": "S",
"name": "Peter Persson"
},
{
"x": 53,
"y": 3501,
"category": "S",
"name": "Carina Hägg"
},
{
"x": 59,
"y": 2700,
"category": "S",
"name": "Anders Karlsson"
},
{
"x": 57,
"y": 1088,
"category": "S",
"name": "Ann Arleklo"
},
{
"x": 54,
"y": 2711,
"category": "S",
"name": "Raimo Pärssinen"
},
{
"x": 37,
"y": 3522,
"category": "S",
"name": "Matilda Ernkrans"
},
{
"x": 40,
"y": 2164,
"category": "S",
"name": "Morgan Johansson"
},
{
"x": 61,
"y": 526,
"category": "S",
"name": "Bo Bernhardsson"
},
{
"x": 34,
"y": 0,
"category": "S",
"name": "Johan Löfstrand"
},
{
"x": 38,
"y": 2626,
"category": "S",
"name": "Louise Malmström"
},
{
"x": 44,
"y": 1943,
"category": "S",
"name": "Gunilla Carlsson"
},
{
"x": 60,
"y": 687,
"category": "S",
"name": "Lars Johansson"
},
{
"x": 43,
"y": 1964,
"category": "S",
"name": "Shadiye Heydari"
},
{
"x": 36,
"y": 710,
"category": "S",
"name": "Mattias Jonsson"
},
{
"x": 49,
"y": 353,
"category": "S",
"name": "Cecilia Dalman Eek"
},
{
"x": 62,
"y": 630,
"category": "S",
"name": "Billy Gustafsson"
},
{
"x": 45,
"y": 2263,
"category": "S",
"name": "Annelie Karlsson"
},
{
"x": 48,
"y": 5220,
"category": "S",
"name": "Håkan Juholt"
},
{
"x": 36,
"y": 2574,
"category": "S",
"name": "Lena Hallengren"
},
{
"x": 57,
"y": 1438,
"category": "S",
"name": "Krister Örnfjäder"
},
{
"x": 39,
"y": 710,
"category": "S",
"name": "Désirée Liljevall"
},
{
"x": 47,
"y": 960,
"category": "S",
"name": "Caroline Helmersson Olsson"
},
{
"x": 56,
"y": 696,
"category": "S",
"name": "Anna-Lena Sörenson"
},
{
"x": 48,
"y": 1741,
"category": "S",
"name": "Johan Andersson"
},
{
"x": 51,
"y": 7168,
"category": "S",
"name": "Peter Hultqvist"
},
{
"x": 27,
"y": 1802,
"category": "S",
"name": "Roza Güclü Hedin"
},
{
"x": 45,
"y": 0,
"category": "S",
"name": "Pyry Niemi"
},
{
"x": 48,
"y": 2744,
"category": "S",
"name": "Ann-Kristine Johansson"
},
{
"x": 46,
"y": 911,
"category": "S",
"name": "Gunilla Svantorp"
},
{
"x": 48,
"y": 1584,
"category": "S",
"name": "Pia Nilsson"
},
{
"x": 42,
"y": 799,
"category": "S",
"name": "Olle Thorell"
},
{
"x": 29,
"y": 0,
"category": "S",
"name": "Anna Wallén"
},
{
"x": 40,
"y": 416,
"category": "S",
"name": "Lars Eriksson"
},
{
"x": 35,
"y": 0,
"category": "S",
"name": "Teres Lindberg"
},
{
"x": 54,
"y": 1662,
"category": "S",
"name": "Åsa Lindestam"
},
{
"x": 47,
"y": 4200,
"category": "S",
"name": "Yilmaz Kerimo"
},
{
"x": 48,
"y": 820,
"category": "S",
"name": "Ingela Nylund Watz"
},
{
"x": 43,
"y": 942,
"category": "S",
"name": "Kenneth G Forslund"
},
{
"x": 52,
"y": 2507,
"category": "S",
"name": "Hans Ekström"
},
{
"x": 25,
"y": 1382,
"category": "S",
"name": "Sara Karlsson"
},
{
"x": 54,
"y": 0,
"category": "S",
"name": "Agneta Gille"
},
{
"x": 53,
"y": 0,
"category": "S",
"name": "Lena Sommestad"
},
{
"x": 62,
"y": 2707,
"category": "S",
"name": "Susanne Eberstein"
},
{
"x": 54,
"y": 811,
"category": "S",
"name": "Eva Sonidsson"
},
{
"x": 55,
"y": 1316,
"category": "S",
"name": "Phia Andersson"
},
{
"x": 59,
"y": 422,
"category": "S",
"name": "Hans Olsson"
},
{
"x": 52,
"y": 1131,
"category": "S",
"name": "Ann-Christin Ahlberg"
},
{
"x": 54,
"y": 606,
"category": "S",
"name": "Kerstin Nilsson"
},
{
"x": 54,
"y": 343,
"category": "S",
"name": "Ingemar Nilsson"
},
{
"x": 45,
"y": 1858,
"category": "S",
"name": "Christina Karlsson"
},
{
"x": 36,
"y": 694,
"category": "S",
"name": "Meeri Wasberg"
},
{
"x": 44,
"y": 3588,
"category": "S",
"name": "Lars Mejern Larsson"
},
{
"x": 52,
"y": 2461,
"category": "S",
"name": "Berit Högman"
},
{
"x": 30,
"y": 1216,
"category": "S",
"name": "Jonas Gunnarsson"
},
{
"x": 25,
"y": 2602,
"category": "S",
"name": "Adnan Dibrani"
},
{
"x": 47,
"y": 0,
"category": "S",
"name": "Hans Hoff"
},
{
"x": 38,
"y": 1626,
"category": "S",
"name": "Jennie Nilsson"
},
{
"x": 43,
"y": 3420,
"category": "S",
"name": "Tomas Eneroth"
},
{
"x": 51,
"y": 501,
"category": "S",
"name": "Carina Adolfsson Elgestam"
},
{
"x": 48,
"y": 1226,
"category": "S",
"name": "Clas-Göran Carlsson"
},
{
"x": 45,
"y": 4737,
"category": "S",
"name": "Kent Härstedt"
},
{
"x": 40,
"y": 487,
"category": "S",
"name": "Anders Ygeman"
},
{
"x": 37,
"y": 851,
"category": "S",
"name": "Veronica Palm"
},
{
"x": 57,
"y": 505,
"category": "S",
"name": "Arhe Hamednaca"
},
{
"x": 46,
"y": 661,
"category": "S",
"name": "Ylva Johansson"
},
{
"x": 50,
"y": 185,
"category": "S",
"name": "Börje Vestlund"
},
{
"x": 43,
"y": 3059,
"category": "S",
"name": "Marie Nordén"
},
{
"x": 44,
"y": 1727,
"category": "S",
"name": "Gunnar Sandberg"
},
{
"x": 38,
"y": 797,
"category": "S",
"name": "Mikael Damberg"
},
{
"x": 64,
"y": 1601,
"category": "S",
"name": "Björn von Sydow"
},
{
"x": 50,
"y": 895,
"category": "S",
"name": "Christina Zedell"
},
{
"x": 47,
"y": 388,
"category": "S",
"name": "Tommy Waidelich"
},
{
"x": 31,
"y": 1359,
"category": "S",
"name": "Ardalan Shekarabi"
},
{
"x": 58,
"y": 0,
"category": "S",
"name": "Lennart Axelsson"
},
{
"x": 56,
"y": 0,
"category": "S",
"name": "Håkan Bergman"
},
{
"x": 47,
"y": 0,
"category": "S",
"name": "Eva-Lena Jansson"
},
{
"x": 38,
"y": 0,
"category": "S",
"name": "Ibrahim Baylan"
},
{
"x": 56,
"y": 0,
"category": "S",
"name": "Katarina Köhler"
},
{
"x": 43,
"y": 0,
"category": "S",
"name": "Isak From"
},
{
"x": 38,
"y": 0,
"category": "S",
"name": "Helén Pettersson"
},
{
"x": 53,
"y": 1356,
"category": "S",
"name": "Patrik Björck"
},
{
"x": 48,
"y": 3100,
"category": "S",
"name": "Marie Granlund"
},
{
"x": 45,
"y": 3979,
"category": "S",
"name": "Urban Ahlin"
},
{
"x": 50,
"y": 2690,
"category": "S",
"name": "Monica Green"
},
{
"x": 55,
"y": 858,
"category": "S",
"name": "Leif Jakobsson"
},
{
"x": 36,
"y": 1239,
"category": "S",
"name": "Hillevi Larsson"
},
{
"x": 37,
"y": 1205,
"category": "S",
"name": "Fredrik Olovsson"
},
{
"x": 44,
"y": 887,
"category": "S",
"name": "Per Svedberg"
},
{
"x": 44,
"y": 1041,
"category": "S",
"name": "Maria Stenberg"
},
{
"x": 40,
"y": 2265,
"category": "S",
"name": "Christer Engelhardt"
},
{
"x": 53,
"y": 0,
"category": "S",
"name": "Carina Ohlsson"
},
{
"x": 48,
"y": 2958,
"category": "S",
"name": "Peter Johnsson"
}
],
"type": "scatter",
"name": "S"
},
{
"data": [
{
"x": 41,
"y": 436,
"category": "SD",
"name": "Sven-Olof Sällström"
},
{
"x": 32,
"y": 376,
"category": "SD",
"name": "Johnny Skalin"
},
{
"x": 30,
"y": 875,
"category": "SD",
"name": "Julia Kronlid"
},
{
"x": 37,
"y": 0,
"category": "SD",
"name": "David Lång"
},
{
"x": 61,
"y": 1501,
"category": "SD",
"name": "Jonas Åkerlund"
},
{
"x": 66,
"y": 536,
"category": "SD",
"name": "Stellan Bojerud"
},
{
"x": 34,
"y": 0,
"category": "SD",
"name": "Björn Söder"
},
{
"x": 52,
"y": 659,
"category": "SD",
"name": "Thoralf Alfsson"
},
{
"x": 41,
"y": 0,
"category": "SD",
"name": "Richard Jomshof"
},
{
"x": 31,
"y": 71673,
"category": "SD",
"name": "Jimmie Åkesson"
},
{
"x": 39,
"y": 1674,
"category": "SD",
"name": "Carina Herrstedt"
},
{
"x": 45,
"y": 1926,
"category": "SD",
"name": "Mikael Jansson"
},
{
"x": 46,
"y": 2115,
"category": "SD",
"name": "Margareta Larsson"
},
{
"x": 33,
"y": 349,
"category": "SD",
"name": "Mattias Karlsson"
},
{
"x": 42,
"y": 554,
"category": "SD",
"name": "Per Ramhorn"
},
{
"x": 29,
"y": 1002,
"category": "SD",
"name": "Kent Ekeroth"
},
{
"x": 31,
"y": 518,
"category": "SD",
"name": "Josef Fransson"
},
{
"x": 22,
"y": 475,
"category": "SD",
"name": "Markus Wiechel"
},
{
"x": 57,
"y": 689,
"category": "SD",
"name": "Anna Hagwall"
},
{
"x": 71,
"y": 255,
"category": "SD",
"name": "Tony Wiklander"
}
],
"type": "scatter",
"name": "SD"
},
{
"data": [
{
"x": 45,
"y": 5507,
"category": "V",
"name": "Jonas Sjöstedt"
},
{
"x": 64,
"y": 975,
"category": "V",
"name": "Bengt Berg"
},
{
"x": 58,
"y": 967,
"category": "V",
"name": "Siv Holma"
},
{
"x": 39,
"y": 301,
"category": "V",
"name": "Christina Höj Larsen"
},
{
"x": 36,
"y": 1197,
"category": "V",
"name": "Rossana Dinamarca"
},
{
"x": 53,
"y": 0,
"category": "V",
"name": "Lars Ohly"
},
{
"x": 40,
"y": 2381,
"category": "V",
"name": "Josefin Brink"
},
{
"x": 39,
"y": 788,
"category": "V",
"name": "Jens Holm"
},
{
"x": 39,
"y": 868,
"category": "V",
"name": "Amineh Kakabaveh"
},
{
"x": 59,
"y": 431,
"category": "V",
"name": "Kent Persson"
},
{
"x": 62,
"y": 630,
"category": "V",
"name": "Jacob Johnson"
},
{
"x": 31,
"y": 1628,
"category": "V",
"name": "Hans Linde"
},
{
"x": 58,
"y": 732,
"category": "V",
"name": "Eva Olofsson"
},
{
"x": 52,
"y": 0,
"category": "V",
"name": "Torbjörn Björlund"
},
{
"x": 59,
"y": 490,
"category": "V",
"name": "Wiwi Anne Johansson"
},
{
"x": 52,
"y": 678,
"category": "V",
"name": "Lena Olsson"
},
{
"x": 56,
"y": 451,
"category": "V",
"name": "Marianne Berg"
},
{
"x": 49,
"y": 499,
"category": "V",
"name": "Mia Sydow Mölleby"
},
{
"x": 47,
"y": 979,
"category": "V",
"name": "Ulla Andersson"
}
],
"type": "scatter",
"name": "V"
}
],
"tooltip": {
"useHTML": true,
"formatter": function() { return this.point.name; }
},
"xAxis": {
"title": {
"text": "Age on the election day"
}
},
"subtitle": {
"text": "Source: <a href='http://www.val.se/val/val2010/statistik/index.html'>http://www.val.se/val/val2010/statistik/index.html</a>",
"useHTML": true
},
"plotOptions": {
"scatter": {
"marker": {
"symbol": "circle",
"radius": 5
}
}
},
"legend": {
"align": "right",
"verticalAlign": "middle",
"layout": "vertical",
"title": {
"text": "Party"
}
},
"colors": [
"rgba(223, 83, 83, .5)",
"rgba(60, 179, 113, .5)",
"rgba(238, 130, 238, .5)",
"rgba(30, 144, 255, .5)",
"rgba(139, 139, 131, .5)"
],
"id": "chart135f1edd1f1f",
"chart": {
"renderTo": "chart135f1edd1f1f"
}
});
});
})(jQuery);
</script>
</body>
<!-- Google Prettify -->
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/188.0.0/prettify.js"></script>
<script
src='https://google-code-prettify.googlecode.com/svn-history/r232/trunk/src/lang-r.js'>
</script>
<script>
var pres = document.getElementsByTagName("pre");
for (var i=0; i < pres.length; ++i) {
pres[i].className = "prettyprint linenums";
}
prettyPrint();
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment