I hereby claim:
- I am markovuksanovic on github.
- I am mvuksano (https://keybase.io/mvuksano) on keybase.
- I have a public key ASDWflKd0cgPVQCGBW8Icyjco8DDlCScEeuzfe1_bZvEpAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <script> | |
| document.registerElement('my-ga', { | |
| prototype: { | |
| __proto__: HTMLElement.prototype, | |
| attributeChangedCallback: function() { | |
| var key = this.getAttribute('key'); | |
| if(!key) return; | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| <script> | |
| document.registerElement('my-ga', { | |
| prototype: { | |
| __proto__: HTMLElement.prototype, | |
| attributeChangedCallback: function() { | |
| var key = this.getAttribute('key'); | |
| if(!key) return; | |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| { | |
| "10b8c2a2-f09d-4271-bca8-54aeb758ccaf" : { | |
| "firstName": "Marko", | |
| "lastName": "Vuksanovic" | |
| }, | |
| "c9dc9614-784f-43fe-b1d9-333fcf0cdca5" : { | |
| "firstName": "Amanda", | |
| "lastName": "Woo" | |
| }, | |
| "4a14469c-6d11-41d4-9a6a-cb52de57f92b" : { |
| version: '2' | |
| services: | |
| "tls-dashboard": | |
| build: . | |
| image: tls-dashboard | |
| ports: | |
| - "8080:8080" | |
| volumes: | |
| - /root/tls-dashboard/web_service |
I hereby claim:
To claim this, I am signing this object:
| function updateData() { | |
| svg.selectAll('rect') | |
| .data(d3.entries(population_update)) | |
| .transition() // add this line | |
| .attr('width', function(d, i) { | |
| return d.value; | |
| }); | |
| } |
| function updateData() { | |
| svg.selectAll('rect') | |
| .data(d3.entries(population_update)) | |
| .attr('width', function(d, i) { | |
| return d.value; | |
| }); | |
| } |
| var svg = d3.select('svg') | |
| .attr('width', canvas_width); | |
| svg.selectAll('rect') | |
| .data(d3.entries(population)) | |
| .enter() | |
| .append('rect') | |
| .attr('y', function(d, i) { | |
| return 40*i + 10; | |
| }) |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>Day 4</title> | |
| </head> | |
| <body> | |
| <button>Update</button> |