2012-06-15 76 views

回答

27

在D3和jQuery中都是一樣的;底層功能由W3C Selectors API提供,所以請參閱關於屬性選擇器的文檔。例如,d3.select("[id=body]")相當於d3.select("#body")