D3 is an amazing library. At first glance thought it's a charting library. Upon further usage realized it's more of a DOM manipulation library just like JQuery, with the additional support on SVG, which happens to do chart.
I think D3 and JQuery differ more with the dynamic data binding. In D3 you can bind a function to an DOM value.