Edits to the d3 chart article thanks to comments by Dave