diff --git a/spotifyvis/templates/spotifyvis/user_data.html b/spotifyvis/templates/spotifyvis/user_data.html index 2eebd3b..a1864cd 100644 --- a/spotifyvis/templates/spotifyvis/user_data.html +++ b/spotifyvis/templates/spotifyvis/user_data.html @@ -74,7 +74,7 @@ counts: featureData[dataRanges[i]] }); } - vScale.domain([0, d3.max(dataSet)]); + vScale.domain([0, d3.max(dataSet)]).nice(); let hScale = d3.scaleBand().domain(dataRanges).rangeRound([0, width]).padding(0.5);