GithubHelp home page GithubHelp logo

ssbunny / d3-selection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from d3/d3-selection

0.0 2.0 0.0 510 KB

Transform the DOM by selecting elements and joining to data.

License: Other

JavaScript 100.00%

d3-selection's Introduction

d3源码学习笔记之 d3-selection

记录学习 d3.v4.js 过程中,在源码中的注释。列出已经看过的源码:

  • constant.js - 构造常数
  • creator.js - 获得创建元素函数的函数,多用于 append/insert 回调
  • local.js
  • matcher.js - 子选择器函数,参见 selection/filter.js
  • mouse.js
  • namespace.js - 取命名空间
  • namespaces.js - 已注册的命名空间前缀
  • point.js
  • select.js - 获得选区
  • selectAll.js - 获得选区,选区中包含一组节点
  • selector.js - 子选择器函数,参见 selection/select.js
  • selectorAll.js - 子选择器函数,参见 selection/selectAll.js
  • sourceEvent.js
  • touch.js
  • touches.js
  • window.js - 获得 window 对象
  • selection/append.js - 添加元素
  • selection/attr.js - 获取/设置属性
  • selection/call.js
  • selection/classed.js - 处理样式
  • selection/data.js
  • selection/datum.js - 处理单一节点的数据
  • selection/dispatch.js
  • selection/each.js - 为每个元素执行回调函数
  • selection/empty.js
  • selection/enter.js
  • selection/exit.js
  • selection/filter.js - 过滤选区
  • selection/html.js - 获取/设置节点的 innerHTML 值
  • selection/index.js - 选区
  • selection/insert.js - 插入元素
  • selection/lower.js - 将当前选区中的元素依次移动到最前面
  • selection/merge.js - 合并选区
  • selection/node.js - 找到选区内第一个非空元素
  • selection/nodes.js - 找到选区内所有非空元素
  • selection/on.js
  • selection/order.js - 按当前选区的顺序重新组织 DOM 结构
  • selection/property.js - 获取/设置属性
  • selection/raise.js - 将当前选区中的元素依次移动到最后面
  • selection/remove.js - 删除元素
  • selection/select.js - 获得子选区
  • selection/selectAll.js - 获得子选区
  • selection/size.js - 获得当前选区大小,不包含空元素
  • selection/sort.js - 重排选区 + order 操作
  • selection/sparse.js
  • selection/style.js - 处理内联样式
  • selection/text.js - 获取/设置节点的 textContent 值

d3-selection's People

Contributors

curran avatar jimkang avatar lyrachord avatar mbostock avatar nathanbowser avatar ssbunny avatar tomwanzek avatar tonysherbondy avatar wrgoldstein avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.