In this advanced Bar Chart example, there are both negative and positive values in the data and they are being displayed on a stacked x axis. Additionally, .time( ) is being declared in order to enable a timeline that allows changing the scope of the data being displayed.
Featured on D3plus.org