'Programming > d3' 카테고리의 다른 글
| d3 pulse / blink (0) | 2018.10.29 |
|---|---|
| d3 v5... -0-? (0) | 2018.10.18 |
| d3 arc 직접 그리기 (0) | 2018.10.17 |
| d3 pie with padding (0) | 2018.10.16 |
| d3 enter exit datum (0) | 2018.10.16 |
| d3 pulse / blink (0) | 2018.10.29 |
|---|---|
| d3 v5... -0-? (0) | 2018.10.18 |
| d3 arc 직접 그리기 (0) | 2018.10.17 |
| d3 pie with padding (0) | 2018.10.16 |
| d3 enter exit datum (0) | 2018.10.16 |
donut 쓰려고 하니 색상이 연동되어 있어서 답이 없고 그런 이유로 직접 그리는거 공부중.. ㅠㅠ
[링크 : http://jsfiddle.net/wQXCL/4655/]
[링크 : https://bl.ocks.org/d3indepth/5cc68ffe573562772bed1e394b50f7dc]
startAngle과 EndAngle은 radian으로 주어주어야 한다.
[링크 : https://stackoverflow.com/questions/6746598/what-is-start-angle-and-end-angle-of-arc-in-html5-canvas]
투명도
[링크 : https://bl.ocks.org/EfratVil/2bcc4bf35e28ae789de238926ee1ef05]
| d3 v5... -0-? (0) | 2018.10.18 |
|---|---|
| d3 v3 doc (0) | 2018.10.17 |
| d3 pie with padding (0) | 2018.10.16 |
| d3 enter exit datum (0) | 2018.10.16 |
| d3 arc (0) | 2018.10.16 |
node를 이용하여 RPC 비스므리하게 구현해본 예제
근데 windows + node.js라 kill을 테스트 해보진 못함
[링크 : https://stackoverflow.com/questions/18334181/spawn-on-node-js-windows-server-2012]
[링크 : https://stackoverflow.com/questions/26425637/javascript-split-string-with-white-space]
| node-rtsp-stream의 pid 얻기 (0) | 2018.10.18 |
|---|---|
| node.js post body (0) | 2018.10.17 |
| node post header max size (0) | 2018.10.16 |
| node url parametet (0) | 2018.10.16 |
| node.js spawn 과 exec (0) | 2018.10.16 |
선을 그려서 공백을 그리는 기법
[링크 : http://bl.ocks.org/valex/fa6428755963692a73dfe7cef3faf990]
pie의 패딩 각도를 지정하는 기법
개인적으로는 이게 옳은 접근 방법이라고 보임
var pie = d3.layout.pie() .padAngle(.02); |
[링크 : https://bl.ocks.org/mbostock/f098d146315be4d1db52]
+
그나저나 저 간격 자체를 padding이라고 표현을 하는군..
| d3 v3 doc (0) | 2018.10.17 |
|---|---|
| d3 arc 직접 그리기 (0) | 2018.10.17 |
| d3 enter exit datum (0) | 2018.10.16 |
| d3 arc (0) | 2018.10.16 |
| d3 color (0) | 2018.10.16 |
HTTP POST 를 통해 전송되는 데이터의 용량은 웹 서버에 따라서 제한이 된다고 한다.
node.js 80kb
[링크 : https://stackoverflow.com/questions/24167656/nodejs-max-header-size-in-http-request]
per web server
Apache 2.0, 2.2: 8K nginx: 4K - 8K IIS: varies by version, 8K - 16K Tomcat: varies by version, 8K - 48K (?!) |
[링크 : https://stackoverflow.com/questions/686217/maximum-on-http-header-values]
post
Internet explorer All versions 2GB-1 Mozilla Firefox All versions 2GB-1 IIS 1-5 2GB-1 IIS 6 4GB-1 |
[링크 : https://stackoverflow.com/questions/2880722/is-http-post-limitless]
| node.js post body (0) | 2018.10.17 |
|---|---|
| node spawn args (0) | 2018.10.17 |
| node url parametet (0) | 2018.10.16 |
| node.js spawn 과 exec (0) | 2018.10.16 |
| node tmp uuid (0) | 2018.10.12 |
node.js에서 url로 데이터를 받는 방법에 대한 글
/api/value 나
/api?key=value 나
POST header로 받는 법이 있음
[링크 : https://scotch.io/tutorials/use-expressjs-to-get-url-and-post-parameters]
(req.params) Checks route params, ex: /user/:id (req.query) Checks query string params, ex: ?id=12 Checks urlencoded body params (req.body), ex: id=12 To utilize urlencoded request bodies, req.body should be an object. This can be done by using the _express.bodyParser middleware. |
[링크 : https://stackoverflow.com/.../how-to-get-get-query-string-variables-in-express-js-on-node-js]
| node spawn args (0) | 2018.10.17 |
|---|---|
| node post header max size (0) | 2018.10.16 |
| node.js spawn 과 exec (0) | 2018.10.16 |
| node tmp uuid (0) | 2018.10.12 |
| node.js mysql PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR 에러 (0) | 2018.10.11 |
실행하는 것에는 child-process 하위의
exec와 spawn이 있는데 exec는 버퍼를 돌려주고 spawn은 스트림을 돌려준다고 한다.
그런 이유로 dir /s와 같이 미친듯한 용량의 데이터를 뿜어주는 애를
exec로 실행할 경우 금세 200KB 버퍼 용량이 차서 node가 뻗어 버리게 된다.
[링크 : https://nodejs.org/api/child_process.html]
[링크 : https://stackoverflow.com/questions/10232192/exec-display-stdout-live]
kill
[링크 : https://stackoverflow.com/questions/18275809/kill-all-child-process-when-node-process-is-killed]
exec buffer 200kb
[링크 : http://ohgyun.com/453]
| node post header max size (0) | 2018.10.16 |
|---|---|
| node url parametet (0) | 2018.10.16 |
| node tmp uuid (0) | 2018.10.12 |
| node.js mysql PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR 에러 (0) | 2018.10.11 |
| node.js 정적 파일 서비스 (0) | 2018.10.10 |
d3는 차근차근 볼 수 있는 api 문서가 눈에 잘 안띄네...
아무튼 enter / exit / datum에 대한 설명과 전반적인 설명이 그나마 체계적으로 써있는 페이지
[링크 : http://www.tutorialsteacher.com/d3js/data-binding-in-d3js]
| d3 arc 직접 그리기 (0) | 2018.10.17 |
|---|---|
| d3 pie with padding (0) | 2018.10.16 |
| d3 arc (0) | 2018.10.16 |
| d3 color (0) | 2018.10.16 |
| d3 timeline (0) | 2018.10.12 |
animation을 쓰지 않아도 되는 녀석으로 발견
<script> $( document ).click(function() { $( "#toggle" ).effect( "shake" ); }); </script> |
| jquery selector와 document.getElementById 차이 (0) | 2018.11.05 |
|---|---|
| jquery trigger() (0) | 2018.10.25 |
| jqeury ajax 수행 완료 기다리기 (0) | 2018.10.23 |
| jquery ajax data, header (0) | 2018.10.23 |
| jquery ani arc (0) | 2018.10.16 |
arc 그리는 방법
[링크 : http://bl.ocks.org/mbostock/5100636]
[링크 : https://bl.ocks.org/d3indepth/5cc68ffe573562772bed1e394b50f7dc]
label - 도표에 각 부분 선을 그어서 표기해주는 걔
[링크 : http://bl.ocks.org/dbuezas/9306799]
+
2018.10.17
걍 내가 의도한걸 구현하는데에는 이거 보다는 padding이 들어간 pie graph가 나을 듯
(특정 색상만 지정하도록 하면)
| d3 pie with padding (0) | 2018.10.16 |
|---|---|
| d3 enter exit datum (0) | 2018.10.16 |
| d3 color (0) | 2018.10.16 |
| d3 timeline (0) | 2018.10.12 |
| d3 관련 검색.. (0) | 2018.10.12 |