Hi , I want some help in d3.js. I used this command in my code ------ var xScale = scaleOrdinal().domain(extent(data,xValue)) .range([0, innerWidth]); and got first and last value from 'xValue' on my x-axis -But i want all distinct values on my x-axis .What function in replcaement of 'extent' can be used?