Violin Plot + Box Plot v2
Please use the newest version Violin Plot + Box Plot v3
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 <Open in new window to see example.>
- 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 asielen's block: Violin Plot + Box Plot v2