add css changes to d3graph