EVE Online 2013: Ships destroyed by solar system

HTML

<script src="http://d3js.org/d3.v3.min.js"></script>
<h1>EVE Online 2013</h1>
<h2>Ships destroyed by solar system</h2>

<pre id="csvdata">
name,security,value
Amarr,1,111345
Ammold,1,4134
Amsen,1,2322
Bourynes,1,2084
Chaven,1,3671
Cistuvaert,1,3979
Duripant,1,6692
Emrayur,1,2232
Hulm,1,1132
Kisogo,1,6277
Luminaire,1,8674
New Caldari,1,7437
Pator,1,4150
Ryddinjorn,1,1239
Sarum Prime,1,3211
Sehmy,1,1358
Todaki,1,3936
Yulai,1,681
Ameinaka,0.99,709
Edmalbrurdus,0.99,161
Ikuchi,0.99,1632
Malukker,0.99,25142
Todeko,0.99,221
Abrat,0.98,130
Meves,0.98,1084
Sakenta,0.98,301
Aokannitoh,0.97,264
Athinard,0.97,941
Hirtamon,0.97,424
Kakakela,0.97,4064
Kerepa,0.97,67
Todrir,0.97,78
Vullat,0.97,1303
Arlek,0.96,326
Arlulf,0.96,536
Bhizheba,0.96,2150
Embod,0.96,34189
Hedion,0.96,1796
Ivar,0.96,1108
Leurtmar,0.96,1238
Loguttur,0.96,454
Niyabainen,0.96,4177
Orgron,0.96,239
Safilbab,0.96,64
Urlen,0.96,13758
Alf,0.95,325
Assiad,0.95,144
Blameston,0.95,501
Eystur,0.95,5483
Fildar,0.95,135
Hadaugago,0.95,69548
Hitanishio,0.95,1018
Irnal,0.95,262
Jita,0.95,159322
Lustrevik,0.95,5714
Malkalen,0.95,1607
Mattere,0.95,645
Mies,0.95,3172
Onga,0.95,1604
Perimeter,0.95,26108
Tew,0.95,377
Unpas,0.95,5668
Usteli,0.95,595
Yashunen,0.95,1097
Claysson,0.94,226
Eletta,0.94,1387
Ethernity,0.94,799
Hatakani,0.94,5860
Mabnen,0.94,698
Magiko,0.94,623
Olbra,0.94,726
Sarekuwa,0.94,1842
Seitam,0.94,127
Shesha,0.94,1802
Algogille,0.93,9588
Erego,0.93,71
Larkugei,0.93,192
Marthia,0.93,359
Mora,0.93,975
Nosodnis,0.93,149
Alenia,0.92,994
Horir,0.92,78
Kassigainen,0.92,4563
Kehour,0.92,823
Laah,0.92,835
Lashkai,0.92,55
Olelon,0.92,221
Stirht,0.92,560
Tennen,0.92,742
Uitra,0.92,125146
Aldilur,0.91,472
Ansila,0.91,495
Arbaz,0.91,1662
Ashab,0.91,6726
Bongveber,0.91,234
Conoban,0.91,32970
Deepari,0.91,76351
Eba,0.91,396
Fora,0.91,268
Hanan,0.91,153
Illuin,0.91,658
Inis-Ilix,0.91,206
Kihtaled,0.91,530
Kor-Azor...

CSS

body {
    background: #202020;    
    font-family: Calibri;
    font-size: 10px;
}

h1 {
    font-size: 40px;
    color: #909090;
    margin: 2px;
}

h2 {
    font-size: 20px;
    color: #707070;
    margin: 2px;
}

#csvdata {
    display: none;
}    

.legendTitle
{
    fill: #F0F0F0;
}

.legend
{
    fill: #303030;
    alpha: 0.5;
}

JavaScript

/*
You may use this code for non-commercial purposes only, on the condition that the following copyright notice is displayed prominently on any page where the code appears:  

©2014 CCP hf.  EVE Online and the EVE logo are the registered trademarks of CCP hf. All rights are reserved worldwide. All other trademarks are the property of their respective owners. EVE Online, the EVE logo, EVE and all associated logos and designs are the intellectual property of CCP hf. All artwork, screenshots, characters, vehicles, storylines, world facts or other recognizable features of the intellectual property relating to these trademarks are likewise the intellectual property of CCP hf.
*/

function parseForBubble(root)
{
    var lst = [];
    root.forEach(function(n) { lst.push({value:parseInt(n.value), system:n.name,security:parseFloat(n.security) });});
    
    return {children:lst};
}

function plotBubbles(rootSvg, root) {
    var totalValue = d3.sum(root, function(d) {return d.value;});
    var valueDisplayLimit = totalValue * 0.005;
    
    var node = rootSvg.selectAll("systems")
        .data(bubble.nodes(parseForBubble(root)).filter(function(d) { return !d.children; }))
        .enter().append("g")
        .attr("class", "node")
        .attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
    
    //This adds a title which pops up when a mouse cursor hovers over the node
    node.append("title")
        .text(function(d) {  return d.system + "(" + format(d.security) + '): ' + formatLarge(parseInt(d.value)) + " Ships destroyed" });
    
    //The circle-element of the bubble 
    node.append("circle")
        .attr("r", function(d) { return d.r; })
        .style("fill", function(d) { return color(d.security); })
        .style("stroke", function(d) {return d3.rgb(color(d.security)).darker(); });
    
    //Text element containing the system name, do some truncating magic(shitmix)...
    node.append("text")
        .attr("dy", "3px")
       ...