histogram and violin plotbox
This example combines histograms and violin plots to visualize gene expression distributions across multiple samples. The chart displays each gene as a rotated, mirrored histogram with a step-after interpolation, alongside a box plot showing quantiles and the mean. Built with D3 v3 and SVG, it uses `d3.scale.ordinal` and `d3.scale.linear` for axes, and `d3.quantile` for statistical summaries. The data comes from a JavaScript file containing sample expression values for each gene.
AI-generated descriptionThis demo inspired by z-m-k, where I have make it as a reuseable modular and fix a trival statistics problem.
You guys can generate many effects with the interpolation attribut, while I think step-after is most appropriate interpolation from the statistics perspective.