Skip to main content
100%

Sample Distribution (Histogram/Kernel/CDF)

✓ Published0🌍 Public
MMorganhaoyu
Last edited Oct 22, 2018
Created on Oct 22, 2018

This interactive tool visualizes the statistical distribution of a numeric dataset using multiple complementary representations: a histogram, kernel density estimate, cumulative distribution function (CDF), and a rug plot. Users can adjust histogram bin width and toggle between linear and log2 value scales, while enabling the CDF adds a secondary y-axis. The visualization renders with SVG, supports zooming via click-drag on the x-axis, and is animated with transitions. It uses D3.js for scales, layouts, and SVG manipulation, with data loaded from a JSON file.

AI-generated description

This sample distribution exploratory tool uses a combination of Histogram, Rug, Kernel Density and CDF plots to represent the statistical spread of input data.

Options are exposed to manipulate the width of the histogram bins and the type of value scale to use (linear vs log base 2). Enabling the CDF representation adds a secondary Y axis with the cumulative values.

Zoom on the X axis by click-dragging on the graph.

forked from <a href='http://bl.ocks.org/vasturiano/'>vasturiano</a>'s block: <a href='http://bl.ocks.org/vasturiano/82c3373fbaa47f6bb5b5'>Sample Distribution (Histogram/Kernel/CDF)</a>

mit Licensed

Similar vizzes