mbostock/d3 — Issue #404: x-axis labels reversed in splom example
Author: also
Created: 2011-12-12 21:08:53+00:00
State: open

The x-axis labels in the scatterplot matrix example are reversed from the order the data is plotted. For example, for sepalLength, it reads "7 6 5".

The reverse call mutates the range array in place, which for some reason affects the the x axis labels, but not the actual x scale.

```javascript
x[trait] = d3.scale.linear().domain(domain).range(range);
y[trait] = d3.scale.linear().domain(domain).range(range.reverse());
```