Skip to main content
100%

histogram and violin plotbox

✓ Published0🌍 Public
11Cr18Ni9
Last edited May 2, 2017
Created on Apr 29, 2017

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 description
  • This 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.

mit Licensed

Similar vizzes