Distributions 3
This example recreates Wikipedia’s gamma distribution plots, showing both the probability density function (PDF) and cumulative distribution function (CDF) for a negative binomial distribution, parameterized as a Tweedie distribution. The left panel plots the PDF and the right panel plots the CDF for the same distribution, using two separate linear scales. The code uses D3.js to build the SVG chart and axes, jStat to compute the PDF and CDF values, and d3-legend to add a color-coded legend with the distribution’s parameters.
AI-generated descriptionRecreation of wikipedia's gamma distribution plots in d3.
Powered using d3.js, jStat, and d3-legend.
Built with blockbuilder.org.
forked from <a href='http://bl.ocks.org/SpaceActuary/'>SpaceActuary</a>'s block: <a href='http://bl.ocks.org/SpaceActuary/a0d2efed63aeefce5cb0'>Distributions</a>
forked from <a href='http://bl.ocks.org/SpaceActuary/'>SpaceActuary</a>'s block: <a href='http://bl.ocks.org/SpaceActuary/41b50ea8bb206e44fec2'>Distributions 2</a>