This demo uses imperative chart updates. The generated code is a faithful Angular translation: open it in CodeSandbox to run and tweak.

import { Component, AfterViewInit, OnDestroy, ViewChild } from '@angular/core';
import {
  ChartComponent,
  ApexAxisChartSeries,
  ApexNonAxisChartSeries,
  ApexChart,
  ApexXAxis,
  ApexYAxis,
  ApexTitleSubtitle,
  ApexDataLabels,
  ApexStroke,
  ApexFill,
  ApexLegend,
  ApexTooltip,
  ApexMarkers,
  ApexPlotOptions,
  ApexResponsive,
  ApexGrid,
  ApexAnnotations,
  ApexStates,
  ApexTheme,
  NgApexchartsModule,
} from 'ng-apexcharts';

export type ChartOptions = {
  series?: ApexAxisChartSeries | ApexNonAxisChartSeries;
  chart?: ApexChart;
  xaxis?: ApexXAxis;
  yaxis?: ApexYAxis | ApexYAxis[];
  title?: ApexTitleSubtitle;
  subtitle?: ApexTitleSubtitle;
  dataLabels?: ApexDataLabels;
  stroke?: ApexStroke;
  fill?: ApexFill;
  legend?: ApexLegend;
  tooltip?: ApexTooltip;
  markers?: ApexMarkers;
  plotOptions?: ApexPlotOptions;
  responsive?: ApexResponsive[];
  grid?: ApexGrid;
  annotations?: ApexAnnotations;
  states?: ApexStates;
  theme?: ApexTheme;
  colors?: string[];
  labels?: any;
};

@Component({
  selector: 'app-chart',
  standalone: true,
  imports: [NgApexchartsModule],
  templateUrl: './chart.component.html',
})
export class AppChart implements AfterViewInit, OnDestroy {
  @ViewChild('chart') chart!: ChartComponent;
  private gaussianViolin = (mean: any, sd: any, n: any): any => {
          var density = []
          for (var v = mean - 3 * sd; v <= mean + 3 * sd; v += sd / 6) {
            var z = (v - mean) / sd
            density.push([Math.round(v * 10) / 10, Math.exp(-0.5 * z * z)])
          }
          var points = []
          for (var k = 0; k < n; k++) {
            // Box–Muller transform on two uniform samples
            var u1 = Math.random(),
              u2 = Math.random()
            var g = Math.sqrt(-2 * Math.log(u1)) * Math.cos(2 * Math.PI * u2)
            points.push(mean + g * sd)
          }
          return { density: density, points: points }
        };

  public chartOptions: Partial<ChartOptions> = {
          series: [
            {
              name: 'Latency',
              data: [
                { x: 'Auth', y: this.gaussianViolin(120, 18, 400) },
                { x: 'Search', y: this.gaussianViolin(210, 35, 500) },
                { x: 'Checkout', y: this.gaussianViolin(160, 22, 350) },
                { x: 'Recommend', y: this.gaussianViolin(260, 45, 300) },
              ],
            },
          ],
          chart: {
            type: 'violin',
            height: 460,
          },
          title: {
            text: 'Response time distribution by service (ms)',
          },
          plotOptions: {
            bar: {
              horizontal: true,
              distributed: true,
            },
            violin: {
              normalize: 'group',
              // dots in a darker shade of each violin's colour, no outline (strokeWidth: 0)
              points: { show: true, size: 3, jitter: 0.9, strokeWidth: 0 },
            },
          },
          colors: ['#14b8a6', '#6366f1', '#f59e0b', '#ef4444'],
          stroke: { width: 1, colors: ['#888'] },
          legend: { show: false },
          xaxis: {
            title: { text: 'Response time (ms)' },
          },
        };
  ngAfterViewInit() {
    (window as any).ApexCharts.setLicense('APEX-eyJpc3N1ZURhdGUiOiIyMDI2LTA0LTE2IiwiZXhwaXJ5RGF0ZSI6IjIwNTItMDQtMTciLCJwbGFuIjoiZW50ZXJwcmlzZSIsImRvbWFpbnMiOlsiYXBleGNoYXJ0cy5jb20iLCIxMjcuMC4wLjEiXX0=');
  }

  ngOnDestroy() {
    // no cleanup needed
  }
}
Horizontal Violin - Angular Violin Charts | ApexCharts.js | ApexCharts.js