Skip to content

Instantly share code, notes, and snippets.

View chrtze's full-sized avatar
👨‍💻

Christopher Möller chrtze

👨‍💻
View GitHub Profile
@chrtze
chrtze / data.csv
Last active June 19, 2021 14:08
logstash example
Date Open High Low Close Volume Adj Close
2015-04-02 125.03 125.56 124.19 125.32 32120700 125.32
2015-04-01 124.82 125.12 123.10 124.25 40359200 124.25
2015-03-31 126.09 126.49 124.36 124.43 41852400 124.43
2015-03-30 124.05 126.40 124.00 126.37 46906700 126.37
2015-03-27 124.57 124.70 122.91 123.25 39395000 123.25
2015-03-26 122.76 124.88 122.60 124.24 47388100 124.24
2015-03-25 126.54 126.82 123.38 123.38 51106600 123.38
2015-03-24 127.23 128.04 126.56 126.69 32713000 126.69
2015-03-23 127.12 127.85 126.52 127.21 36761000 127.21
@chrtze
chrtze / chart.js
Created November 23, 2015 20:00
Line Chart Example
var Chart = (function(window,d3) {
var svg, data, x, y, xAxis, yAxis, dim, chartWrapper, line, path, margin = {}, width, height, locator;
var breakPoint = 768;
d3.csv('data.csv', init); //load data, then initialize chart
//called once the data is loaded
function init(csv) {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
nr date total_1 total_2 truck_1 truck_2 name land type roadid lat lng
304 1451869200 39 50 2 2 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451872800 27 29 2 4 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451865600 103 60 2 2 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451876400 19 28 3 3 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451880000 29 34 4 4 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451883600 46 182 7 6 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451887200 142 535 10 9 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451890800 312 1130 22 21 Von der Heydt SL A 1 49.27113733 6.96139813
304 1451894400 457 1243 17 27 Von der Heydt SL A 1 49.27113733 6.96139813

Keybase proof

I hereby claim:

  • I am chrtze on github.
  • I am chrtze (https://keybase.io/chrtze) on keybase.
  • I have a public key ASAT6gOfZH4IgO61AiDsVwH5MRSVcvj8m9yYJGNDqyr1ogo

To claim this, I am signing this object:

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.