Skip to content

Instantly share code, notes, and snippets.

@MariellaCC
Last active May 4, 2018 10:55
Show Gist options
  • Save MariellaCC/129e734c1c3ed748cbdec11394f39109 to your computer and use it in GitHub Desktop.
Save MariellaCC/129e734c1c3ed748cbdec11394f39109 to your computer and use it in GitHub Desktop.
land alle_haushalte armut nicht_armut
Malta 6.8 10.4 5
Lettland 10.5 14.5 8.6
Litauen 14.3 14.8 14
Slowenien 17.9 26.1 13.3
Irland 19.4 22.7 17.9
Estland 19.5 31.4 14.7
Slowakei 19.8 35.1 16
Deutschland 21.2 33.6 17
Portugal 22.6 32.4 18.4
Frankreich 22.7 31.5 19.6
Österreich 22.7 38.4 17.9
Zypern 23.2 31.4 19.6
Eurozone 23.9 36 19.1
Italien 25.3 37.5 18.8
Belgien 27.1 34.3 23
Luxemburg 28 37.7 23
Griechenland 30.8 50.1 24.5
Niederlände 30.8 41.9 26.6
Finnland 30.8 44.1 26.5
Spanien 32.2 45.9 22.3
<!DOCTYPE html>
<meta charset = "utf-8">
<style>
</style>
<body>
<div id = "container_test"></div>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script>
d3.queue()
.defer(d3.csv, 'data_test.csv')
.await(function(error, data) {
var data = data;
console.log(data);
dataviz();
});
function dataviz(){
var w = 600;
var h = 400;
var svg1 = d3.select("#container_test")
.append("svg");
}
</script>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment