Histogram Chart
This histogram chart visualizes the Irwin–Hall distribution by generating 10,000 random samples and grouping them into bins. Built with D3 v3, it employs the reusable chart module pattern, where a `histogramChart()` function configures scales, axes, and bars. The chart uses `d3.layout.histogram` for binning, an ordinal x-scale for bar positions, and an SVG rendering with a bottom axis. The code also demonstrates the use of `d3.rebind` to expose histogram properties and the x-axis tick format, while the parent script generates sample data via `Math.random`.
AI-generated descriptionThis example is out-of-date; I prefer this newer histogram example that places the tick marks between bars. However, the implementation still stands as an example of the reusable chart module pattern.