A randomly-generated normal distribution with a mean of 0 and a standard deviation of 3 on an ordinal x-axis. The histogram will add one datapoint at a time until it has reached 100 datapoints.
Use the controls in the upper right corner. The first button starts auto iteration, the second refresh the sample, the third resets to n = 0. Try scrolling on top of the sample counter to change the current iteration number or total sample size.
Based on the d3 v3 block by Tommy Ogden: Building a Normal Distribution Histogram.
This block was remade by Werner Sævland.
Modified http://d3js.org/d3.v4.min.js to a secure url
https://use.fontawesome.com/35aa61260c.js
https://d3js.org/d3.v4.min.js
https://cdnjs.cloudflare.com/ajax/libs/jstat/1.7.0/jstat.js
https://unpkg.com/simple-statistics@4.1.0/dist/simple-statistics.min.js