PageSourceSearch

https://somerch.co/assets/NPSDistributionChart-BeTEb3YA.js

js somerch.co collected 2026-10-02 00:09:12 UTC 1,227 bytes, 1 lines download raw bytes

1import{j as s,Q as l,T as m,V as n,Y as d}from"./index-payoMPV_.js";import{R as c,C as x,X as h,Y as p,T as j,B as u,a as C}from"./generateCategoricalChart-CwZN54c7.js";import{B as f}from"./BarChart-B0e8V6Gy.js";import"./step-B98a7oi-.js";import"./index-C7yKKq-w.js";import"./band-CquvqAHh.js";import"./init-Dmth1JHB.js";import"./ordinal-DILIJJjt.js";import"./linear-B78IKGZp.js";import"./defaultLocale-DX6XiGOO.js";import"./time-iMc0ZtSt.js";const S=({promoters:r,passives:e,detractors:o})=>{const a=[{name:"Detractors (0-6)",value:o,color:"hsl(0, 84%, 60%)"},{name:"Passives (7-8)",value:e,color:"hsl(45, 93%, 47%)"},{name:"Promoters (9-10)",value:r,color:"hsl(142, 71%, 45%)"}];return s.jsxs(l,{children:[s.jsx(m,{children:s.jsx(n,{className:"text-base",children:"NPS Distribution"})}),s.jsx(d,{children:s.jsx(c,{width:"100%",height:250,children:s.jsxs(f,{data:a,children:[s.jsx(x,{strokeDasharray:"3 3",className:"stroke-border"}),s.jsx(h,{dataKey:"name",tick:{fontSize:12},className:"fill-muted-foreground"}),s.jsx(p,{allowDecimals:!1,className:"fill-muted-foreground"}),s.jsx(j,{}),s.jsx(u,{dataKey:"value",radius:[4,4,0,0],children:a.map((t,i)=>s.jsx(C,{fill:t.color},i))})]})})})]})};export{S as NPSDistributionChart};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.