simple refactory
learning d3 api