Violin Plot + Box Plot v2
An implementation of a reusable responsive distribution chart. Based on the concept outlined in Mike Bostocks blog post Towards Reusable Charts.
Features:
- Responsive design, chart size adjusts with screen
- Easily styled in CSS
- Modular design supporting 3 types of charts
- Box Plot
- Notched Box Plot
- Violin Plot
- Beeswarm Plot
- Bean Plot
- Trendlines
- Each chart type supports multiple options and styles such as
- Box width
- Show/Hide any component (median line, mean line, whiskers outliers, etc...)
- Scatter Outliers
- Notch style (traditional angled vs 90 degree cutouts)
- Violin resolution and interpolation
- Scatter style (random vs organized beeswarm)
See this live on bl.ocks.org here.
Previous version: Reusable Violin + Box Plot
forked from jonpage's block: Violin Plot + Box Plot v2