major parts of design exercise done in d3