the simple model for D3 bar chart