tianxuzhang / d3.v4-api-translation Goto Github PK
View Code? Open in Web Editor NEWD3.js 4.x 中文手册
D3.js 4.x 中文手册
“路径这部分的API主要用来将Canvas命令转换为SVG路径的d属性的值。本质上最后还是用SVG画图。”
d3.v4 IE9 下 this.style.setProperty(t,r,e) 第二个参数 参数错误
序数比例尺
d3.scaleCategory10 - 10种分类颜色。
d3.scaleCategory20 - 20种分类颜色。
d3.scaleCategory20b - 20种分类颜色。
d3.scaleCategory20c - 20种分类颜色。
scale替换为scheme
link.strength - 设置连接 -> 牵引力
强度
d3 Version 4.12.0版本中 4457行,快速单击左键不进行拖动。不能计算出selection的值,后续按正常操作,但无法再继续触发 brush和end事件。
个人在4450行,增加if(!selection) type='overlay';判断。
@mbostock 貌似还没把 4.0 的文档更新到 WIKI 中去,都放在代码一起了;推荐个写书(API 文档)的工具:https://www.gitbook.com/explore,生成的书非常漂亮
文中4.x案例网页链接报404, 望修复
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.