D3.scaleBand() .domain(data.map((data) => { return data.name; })) .range([0, height]) .padding(0.3)
.padding(1.0); const bands = d3.scaleBand() .domain(data) .range([0, chart.width])
xScale = d3.scaleBand().padding(0.1).domain(xDomain).rangeRound([0, width]); yScale = d3.scaleLinear().domain(yDomain).rangeRound([height,0]);
const innerWidth = getInnerWidth(width, margin); const x = d3.scaleBand() .domain(data.map((d) => d.letter)) .rangeRound([0, innerWidth])
'easeCircleIn', 'easeElasticIn(10, -5)', 'easeBackIn(0.5)', 'easeBounceIn', 'easeCubicIn', 'easeCubicOut', 'easeCubicInOut']; const y = d3.scaleBand() .domain(easings) .range([50, 500]);
.range([height, 0]) const x = d3.scaleBand() .rangeRound([0, width]) .padding(.1)
height = this.props.height - margin.top - margin.bottom; let x = d3.scaleBand() .rangeRound([0, width])
height = +svg.attr("height") - margin.top - margin.bottom; let x = d3.scaleBand().rangeRound([0, width]).padding(0.1), y = d3.scaleLinear().rangeRound([height, 0]);
height = this.props.height - margin.top - margin.bottom; let x = d3.scaleBand() .rangeRound([0, width])
.scaleBand() .domain(vis.data.map(d => d.name)) .range([0, WIDTH])
data.sort((a, b) => b.total - a.total); const x = d3.scaleBand() .domain(data.map((d) => d.State)) .rangeRound([0, innerWidth])
height = this.props.height - margin.top - margin.bottom; let x = d3.scaleBand() .rangeRound([0, width])
.scaleBand() .domain(data.map(d => d.region)) .range([0, GRAPH_WIDTH])