D3 chart does not extend to full svg width

I have a histogram ( http://tributary.io/inlet/4720197 ) that displays a dataset with a lot of points that I cannot get fill the full width of the svg. I had the same problem with a line chart and was able to resolve it using rangePoints.

I'm trying something similar with this chart, but can't get the right combination (it uses two scales for grouping) and it's not clear how to get the side-by-side bars that I previously did with rangeBand () if this function doesn't exist using ranges. What am I missing?

pic of bar chart

+3
d3.js


source to share


No one has answered this question yet

Check out similar questions:

7
How do I apply a template to a D3 chart?
2
d3 convert histogram to grouped histogram
1
insensitive bars in a flexible group of grouped histograms d3
1
Grouping of chart groups grouped d3 on mouse
1
D3js extend BarLine line (s) to fill all chart width
1
Adjusting the Bar Chart Bandwidth to Monthly Intervals
0
Is there a way to make d3 scale.range dynamic so that it works with window resizing?
0
d3.js align nested histogram
0
D3js diagram: how to use clip path to limit line length to a specific bounding box
-1
refreshing histogram data of different lengths in a timeline x-axis chart using d3



All Articles
Loading...
X
Show
Funny
Dev
Pics