JavaScript code that generates box and whisker charts containing outliers
The example below illustrates a box & whisker chart pattern with outlier values represented by a scatter plot. The article also provides JavaScript source code for you to edit or save to your computer to run internally.
Outliers or outliers are values that fall outside the minimum and maximum data point values. Any data that is not between the extremes (whiskers) is an outlier and is usually represented by a dot or a plus sign. You can add scatter series in the histogram to show outlier values.
The example below illustrates a box & whisker chart pattern with outlier values represented by a scatter plot. The article also provides JavaScript source code for you to edit or save to your computer to run internally.
Source : CanvasJS
Chart customization
You can change the way outliers are marked via the scatter string's markerType property. Other customization options include: markerSize - marker size, markerColor - marker color, markerBorderColor - marker border color.
Discover more
JavaScript JavaScript codeShare by
Jessica Tanner
Update 27 June 2023
You should read it
- JavaScript code to generate error charts & graphs
- JavaScript code to create multi-series graphs that update live data
- JavaScript code to create bubble chart with custom marker
- JavaScript code to generate dynamic line graphs/charts
- Code of chart/bar graph with error combination
- The Quiet Details That Make a Sports Betting Platform Feel Reliable
- Instructions on creating toy set images with ChatGPT AI
- How are AI agents changing the journalism industry?
- JavaScript code to generate error line graph/graph
- JavaScript code to generate error charts & graphs
- Code of chart/bar graph with error combination