Skip to main content
100%

Gist 6568151

✓ Published0🌍 Public
11wheel
Last edited Sep 15, 2013
Created on Sep 15, 2013

A histogram displays a randomly generated Irwin–Hall distribution of 50 values, showing the count of scores binned into twenty uniform intervals. The chart uses D3’s histogram layout and linear scales to position bars, with axis ticks placed between bars to clarify bin boundaries. Bar counts are labeled above each rectangle, and mouseover events log the original data objects and associated names filtered from the source array. Rendered as SVG using d3.v2, the example demonstrates binning and interactive data binding.

AI-generated description

Created for http://stackoverflow.com/questions/18809020/accessing-properties-of-objects-in-d3-histogram-bins

This chart shows a histogram of an Irwin–Hall distribution. The data is randomly generated. The values are then binned at regular intervals using D3’s histogram layout. The x-axis uses a linear scale, such that the tick values appear between bars; this provides better indication that each bar represents the count of values between its surrounding tick values.

See also this histogram of a log-normal distribution of time durations.

Similar vizzes