Boxplot with Outlier
import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
inset: 6,
autoFit: true,
});
chart.options({
type: 'boxplot',
data: {
type: 'fetch',
value: 'https://assets.antv.antgroup.com/g2/morley.json',
},
encode: { x: 'Expt', y: 'Speed' },
});
chart.render();