Browse Source

Made scale labels nicer for the audio feature graphs

master
Chris Shyi 7 years ago
parent
commit
df36f07080
  1. 2
      spotifyvis/templates/spotifyvis/user_data.html

2
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);

Loading…
Cancel
Save