Joining Data
- selection.data - bind elements to data.将元素绑定到数据。
- selection.join - enter, update or exit elements based on data.根据数据输入、更新或退出元素。
- selection.enter - get the enter selection (data missing elements).获取输入选择(数据缺少元素)
- selection.exit - get the exit selection (elements missing data).获取退出选择(缺少数据的元素)
- selection.datum - get or set element data (without joining).获取或设置元素数据(不连接)