Duration Histogram
This histogram displays the distribution of 1,000 randomly generated duration values drawn from a log-normal distribution with a median of 30 minutes, binned into 20 uniform intervals. The bars show the count of durations falling within each time range, with the x-axis using a linear scale and custom tick labels formatted as times via `d3.time.format`. Built with D3 v3, the chart uses `d3.layout.histogram` to bin the data, `d3.svg.axis` for the axes, and renders as SVG with `shape-rendering: crispEdges` for sharp bar edges.
AI-generated descriptionThis chart shows a histogram of a log-normal distribution of time durations. The data is randomly generated: each value is a number representing a duration measured in minutes. The values are then binned at regular intervals using D3’s histogram layout. A custom tick format for the x-axis converts these numbers to dates before passing them through a d3.time.format. The x-axis uses a linear scale, such that the tick values appear in-between bars; this provides better indication that each bar represents the count of values between its surrounding tick values.
See also this histogram of an Irwin–Hall distribution.