make station query working for d3 figure.