Histogram with values from csv
问题 I am trying to create a simple histogram with values stored in a csv (that I will be modifying through the time). The code I am using now is: (edited code!) var values = [] d3.csv('../static/CSV/Chart_data/histogram_sub.csv?rnd='+(new Date).getTime(),function(data){ values = Object.keys(data).map(function(k){ return data[k]['Calculus I']}); var color = "steelblue"; // Generate a 1000 data points using normal distribution with mean=20, deviation=5 // A formatter for counts. var formatCount =