Adds degree distribution plot