@krizaka/charts 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +59 -2
- package/dist/bar.d.ts +17 -0
- package/dist/bar.js +17 -0
- package/dist/bar.js.map +1 -0
- package/dist/candlestick-IG626XL4.js +13 -0
- package/dist/candlestick-IG626XL4.js.map +1 -0
- package/dist/candlestick.d.ts +42 -0
- package/dist/candlestick.js +13 -0
- package/dist/candlestick.js.map +1 -0
- package/dist/canvas-4MSYDVFO.js +14 -0
- package/dist/canvas-4MSYDVFO.js.map +1 -0
- package/dist/cartesian-BRhNQ3ib.d.ts +34 -0
- package/dist/chart.d.ts +58 -0
- package/dist/chart.js +11 -0
- package/dist/chart.js.map +1 -0
- package/dist/chunk-3CJHBJXA.js +186 -0
- package/dist/chunk-3CJHBJXA.js.map +1 -0
- package/dist/chunk-4LBXEAGC.js +133 -0
- package/dist/chunk-4LBXEAGC.js.map +1 -0
- package/dist/chunk-6FINSUOS.js +49 -0
- package/dist/chunk-6FINSUOS.js.map +1 -0
- package/dist/chunk-AA5EWWYV.js +38 -0
- package/dist/chunk-AA5EWWYV.js.map +1 -0
- package/dist/chunk-ANUCSRUN.js +43 -0
- package/dist/chunk-ANUCSRUN.js.map +1 -0
- package/dist/chunk-ARARFMNE.js +88 -0
- package/dist/chunk-ARARFMNE.js.map +1 -0
- package/dist/chunk-BISL7DYW.js +66 -0
- package/dist/chunk-BISL7DYW.js.map +1 -0
- package/dist/chunk-BV4DBGN7.js +178 -0
- package/dist/chunk-BV4DBGN7.js.map +1 -0
- package/dist/chunk-C4MFZLJM.js +19 -0
- package/dist/chunk-C4MFZLJM.js.map +1 -0
- package/dist/chunk-CSSZLFLO.js +116 -0
- package/dist/chunk-CSSZLFLO.js.map +1 -0
- package/dist/chunk-CVWSMUUB.js +378 -0
- package/dist/chunk-CVWSMUUB.js.map +1 -0
- package/dist/chunk-E5DKBSWX.js +2 -0
- package/dist/chunk-E5DKBSWX.js.map +1 -0
- package/dist/chunk-EEP7PS2L.js +54 -0
- package/dist/chunk-EEP7PS2L.js.map +1 -0
- package/dist/chunk-EQLC2QVN.js +73 -0
- package/dist/chunk-EQLC2QVN.js.map +1 -0
- package/dist/chunk-FINOPIDN.js +2 -0
- package/dist/chunk-FINOPIDN.js.map +1 -0
- package/dist/chunk-G2KF2WL4.js +2 -0
- package/dist/chunk-G2KF2WL4.js.map +1 -0
- package/dist/chunk-I3D7KUGN.js +205 -0
- package/dist/chunk-I3D7KUGN.js.map +1 -0
- package/dist/chunk-IKQV3NSL.js +76 -0
- package/dist/chunk-IKQV3NSL.js.map +1 -0
- package/dist/chunk-JTKR7ZWP.js +468 -0
- package/dist/chunk-JTKR7ZWP.js.map +1 -0
- package/dist/chunk-KNDHO67X.js +78 -0
- package/dist/chunk-KNDHO67X.js.map +1 -0
- package/dist/chunk-L2EKYWVI.js +94 -0
- package/dist/chunk-L2EKYWVI.js.map +1 -0
- package/dist/chunk-MXLITIGU.js +92 -0
- package/dist/chunk-MXLITIGU.js.map +1 -0
- package/dist/chunk-NCIQMRV3.js +155 -0
- package/dist/chunk-NCIQMRV3.js.map +1 -0
- package/dist/chunk-OB5EFDDH.js +118 -0
- package/dist/chunk-OB5EFDDH.js.map +1 -0
- package/dist/chunk-OIRHLJBC.js +83 -0
- package/dist/chunk-OIRHLJBC.js.map +1 -0
- package/dist/chunk-PBQV3B6O.js +145 -0
- package/dist/chunk-PBQV3B6O.js.map +1 -0
- package/dist/chunk-POQIHFAZ.js +2 -0
- package/dist/chunk-POQIHFAZ.js.map +1 -0
- package/dist/chunk-PWMMXRMC.js +234 -0
- package/dist/chunk-PWMMXRMC.js.map +1 -0
- package/dist/chunk-SLEJDQ3A.js +81 -0
- package/dist/chunk-SLEJDQ3A.js.map +1 -0
- package/dist/chunk-TPJDOB7R.js +15 -0
- package/dist/chunk-TPJDOB7R.js.map +1 -0
- package/dist/chunk-VKZZY2QD.js +103 -0
- package/dist/chunk-VKZZY2QD.js.map +1 -0
- package/dist/chunk-W5FX4TU3.js +102 -0
- package/dist/chunk-W5FX4TU3.js.map +1 -0
- package/dist/chunk-W5ILLSPK.js +107 -0
- package/dist/chunk-W5ILLSPK.js.map +1 -0
- package/dist/chunk-WBHFVBSK.js +25 -0
- package/dist/chunk-WBHFVBSK.js.map +1 -0
- package/dist/chunk-WNUFGMS7.js +113 -0
- package/dist/chunk-WNUFGMS7.js.map +1 -0
- package/dist/chunk-WVTIKOII.js +15 -0
- package/dist/chunk-WVTIKOII.js.map +1 -0
- package/dist/chunk-XDDALY4C.js +166 -0
- package/dist/chunk-XDDALY4C.js.map +1 -0
- package/dist/chunk-XLLYNNC6.js +89 -0
- package/dist/chunk-XLLYNNC6.js.map +1 -0
- package/dist/context-BgYUymEO.d.ts +163 -0
- package/dist/credits.d.ts +42 -0
- package/dist/credits.js +21 -0
- package/dist/credits.js.map +1 -0
- package/dist/earnings.d.ts +29 -0
- package/dist/earnings.js +22 -0
- package/dist/earnings.js.map +1 -0
- package/dist/frame-I7_xYGy5.d.ts +45 -0
- package/dist/full-S2MBPEEP.js +11 -0
- package/dist/full-S2MBPEEP.js.map +1 -0
- package/dist/funnel-QU5ZPC52.js +13 -0
- package/dist/funnel-QU5ZPC52.js.map +1 -0
- package/dist/funnel.d.ts +26 -0
- package/dist/funnel.js +13 -0
- package/dist/funnel.js.map +1 -0
- package/dist/gauge.d.ts +38 -0
- package/dist/gauge.js +13 -0
- package/dist/gauge.js.map +1 -0
- package/dist/geo.d.ts +37 -0
- package/dist/geo.js +13 -0
- package/dist/geo.js.map +1 -0
- package/dist/globe.d.ts +36 -0
- package/dist/globe.js +12 -0
- package/dist/globe.js.map +1 -0
- package/dist/goal.d.ts +26 -0
- package/dist/goal.js +17 -0
- package/dist/goal.js.map +1 -0
- package/dist/heatmap-JWQOKUGM.js +13 -0
- package/dist/heatmap-JWQOKUGM.js.map +1 -0
- package/dist/heatmap.d.ts +47 -0
- package/dist/heatmap.js +15 -0
- package/dist/heatmap.js.map +1 -0
- package/dist/host-_F8RgiIz.d.ts +15 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +148 -0
- package/dist/index.js.map +1 -0
- package/dist/labels-DE_743fQ.d.ts +72 -0
- package/dist/latency.d.ts +33 -0
- package/dist/latency.js +24 -0
- package/dist/latency.js.map +1 -0
- package/dist/line.d.ts +25 -0
- package/dist/line.js +19 -0
- package/dist/line.js.map +1 -0
- package/dist/native.d.ts +494 -0
- package/dist/native.js +1244 -0
- package/dist/native.js.map +1 -0
- package/dist/pie.d.ts +37 -0
- package/dist/pie.js +16 -0
- package/dist/pie.js.map +1 -0
- package/dist/provider.d.ts +73 -0
- package/dist/provider.js +24 -0
- package/dist/provider.js.map +1 -0
- package/dist/radar-75GRJ2IK.js +13 -0
- package/dist/radar-75GRJ2IK.js.map +1 -0
- package/dist/radar.d.ts +22 -0
- package/dist/radar.js +13 -0
- package/dist/radar.js.map +1 -0
- package/dist/sankey-XQTX2EG6.js +13 -0
- package/dist/sankey-XQTX2EG6.js.map +1 -0
- package/dist/sankey.d.ts +28 -0
- package/dist/sankey.js +13 -0
- package/dist/sankey.js.map +1 -0
- package/dist/scatter-XSNG4OKD.js +13 -0
- package/dist/scatter-XSNG4OKD.js.map +1 -0
- package/dist/scatter.d.ts +41 -0
- package/dist/scatter.js +15 -0
- package/dist/scatter.js.map +1 -0
- package/dist/sparkline.d.ts +26 -0
- package/dist/sparkline.js +16 -0
- package/dist/sparkline.js.map +1 -0
- package/dist/svg-BJUHYX3B.js +14 -0
- package/dist/svg-BJUHYX3B.js.map +1 -0
- package/dist/throughput.d.ts +37 -0
- package/dist/throughput.js +24 -0
- package/dist/throughput.js.map +1 -0
- package/dist/ticker.d.ts +38 -0
- package/dist/ticker.js +22 -0
- package/dist/ticker.js.map +1 -0
- package/dist/treemap-OMGGGB5U.js +13 -0
- package/dist/treemap-OMGGGB5U.js.map +1 -0
- package/dist/treemap.d.ts +24 -0
- package/dist/treemap.js +14 -0
- package/dist/treemap.js.map +1 -0
- package/dist/world-110m-DVFWXS42.js +18 -0
- package/dist/world-110m-DVFWXS42.js.map +1 -0
- package/package.json +614 -3
- package/registry/area-chart.json +785 -0
- package/registry/bar-chart.json +784 -0
- package/registry/calendar-heatmap.json +460 -0
- package/registry/candlestick.json +553 -0
- package/registry/chart.json +441 -0
- package/registry/charts-provider.json +191 -0
- package/registry/credit-usage.json +473 -0
- package/registry/earnings-chart.json +703 -0
- package/registry/examples/area-chart/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/credits-usage.js +38 -0
- package/registry/examples/area-chart/credits-usage.tsx +32 -0
- package/registry/examples/area-chart/native/credits-usage.d.ts +4 -0
- package/registry/examples/area-chart/native/credits-usage.dark.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.js +33 -0
- package/registry/examples/area-chart/native/credits-usage.light.png +0 -0
- package/registry/examples/area-chart/native/credits-usage.tsx +27 -0
- package/registry/examples/area-chart/storage.d.ts +4 -0
- package/registry/examples/area-chart/storage.js +27 -0
- package/registry/examples/area-chart/storage.tsx +21 -0
- package/registry/examples/bar-chart/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/jobs-by-status.js +37 -0
- package/registry/examples/bar-chart/jobs-by-status.tsx +31 -0
- package/registry/examples/bar-chart/native/jobs-by-status.d.ts +4 -0
- package/registry/examples/bar-chart/native/jobs-by-status.dark.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.js +32 -0
- package/registry/examples/bar-chart/native/jobs-by-status.light.png +0 -0
- package/registry/examples/bar-chart/native/jobs-by-status.tsx +26 -0
- package/registry/examples/bar-chart/plans-by-quarter.d.ts +4 -0
- package/registry/examples/bar-chart/plans-by-quarter.js +31 -0
- package/registry/examples/bar-chart/plans-by-quarter.tsx +26 -0
- package/registry/examples/bar-chart/top-supporters.d.ts +4 -0
- package/registry/examples/bar-chart/top-supporters.js +32 -0
- package/registry/examples/bar-chart/top-supporters.tsx +27 -0
- package/registry/examples/calendar-heatmap/publishing.d.ts +4 -0
- package/registry/examples/calendar-heatmap/publishing.js +28 -0
- package/registry/examples/calendar-heatmap/publishing.tsx +23 -0
- package/registry/examples/candlestick/auction-bids.d.ts +4 -0
- package/registry/examples/candlestick/auction-bids.js +37 -0
- package/registry/examples/candlestick/auction-bids.tsx +32 -0
- package/registry/examples/chart/polar-uploads.d.ts +4 -0
- package/registry/examples/chart/polar-uploads.js +34 -0
- package/registry/examples/chart/polar-uploads.tsx +30 -0
- package/registry/examples/charts-provider/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/french-orazaka.js +26 -0
- package/registry/examples/charts-provider/french-orazaka.tsx +22 -0
- package/registry/examples/charts-provider/native/french-orazaka.d.ts +4 -0
- package/registry/examples/charts-provider/native/french-orazaka.dark.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.js +17 -0
- package/registry/examples/charts-provider/native/french-orazaka.light.png +0 -0
- package/registry/examples/charts-provider/native/french-orazaka.tsx +17 -0
- package/registry/examples/credit-usage/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/monthly-credits.js +24 -0
- package/registry/examples/credit-usage/monthly-credits.tsx +19 -0
- package/registry/examples/credit-usage/native/monthly-credits.d.ts +4 -0
- package/registry/examples/credit-usage/native/monthly-credits.dark.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.js +23 -0
- package/registry/examples/credit-usage/native/monthly-credits.light.png +0 -0
- package/registry/examples/credit-usage/native/monthly-credits.tsx +18 -0
- package/registry/examples/credit-usage/storage-plan.d.ts +4 -0
- package/registry/examples/credit-usage/storage-plan.js +21 -0
- package/registry/examples/credit-usage/storage-plan.tsx +15 -0
- package/registry/examples/earnings-chart/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/creator-month.js +29 -0
- package/registry/examples/earnings-chart/creator-month.tsx +24 -0
- package/registry/examples/earnings-chart/gross-and-net.d.ts +4 -0
- package/registry/examples/earnings-chart/gross-and-net.js +29 -0
- package/registry/examples/earnings-chart/gross-and-net.tsx +24 -0
- package/registry/examples/earnings-chart/native/creator-month.d.ts +4 -0
- package/registry/examples/earnings-chart/native/creator-month.dark.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.js +29 -0
- package/registry/examples/earnings-chart/native/creator-month.light.png +0 -0
- package/registry/examples/earnings-chart/native/creator-month.tsx +24 -0
- package/registry/examples/funnel/signup.d.ts +4 -0
- package/registry/examples/funnel/signup.js +30 -0
- package/registry/examples/funnel/signup.tsx +24 -0
- package/registry/examples/gauge/challenge-goal.d.ts +4 -0
- package/registry/examples/gauge/challenge-goal.js +24 -0
- package/registry/examples/gauge/challenge-goal.tsx +18 -0
- package/registry/examples/gauge/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/credits-quota.js +26 -0
- package/registry/examples/gauge/credits-quota.tsx +19 -0
- package/registry/examples/gauge/native/credits-quota.d.ts +4 -0
- package/registry/examples/gauge/native/credits-quota.dark.png +0 -0
- package/registry/examples/gauge/native/credits-quota.js +25 -0
- package/registry/examples/gauge/native/credits-quota.light.png +0 -0
- package/registry/examples/gauge/native/credits-quota.tsx +18 -0
- package/registry/examples/geo-map/viewers.d.ts +4 -0
- package/registry/examples/geo-map/viewers.js +43 -0
- package/registry/examples/geo-map/viewers.tsx +29 -0
- package/registry/examples/globe/deployment-regions.d.ts +4 -0
- package/registry/examples/globe/deployment-regions.js +36 -0
- package/registry/examples/globe/deployment-regions.tsx +30 -0
- package/registry/examples/goal-progress/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/challenge-pot.js +22 -0
- package/registry/examples/goal-progress/challenge-pot.tsx +16 -0
- package/registry/examples/goal-progress/goal-reached.d.ts +4 -0
- package/registry/examples/goal-progress/goal-reached.js +11 -0
- package/registry/examples/goal-progress/goal-reached.tsx +6 -0
- package/registry/examples/goal-progress/native/challenge-pot.d.ts +4 -0
- package/registry/examples/goal-progress/native/challenge-pot.dark.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.js +11 -0
- package/registry/examples/goal-progress/native/challenge-pot.light.png +0 -0
- package/registry/examples/goal-progress/native/challenge-pot.tsx +6 -0
- package/registry/examples/heatmap/upload-activity.d.ts +4 -0
- package/registry/examples/heatmap/upload-activity.js +30 -0
- package/registry/examples/heatmap/upload-activity.tsx +25 -0
- package/registry/examples/job-throughput/live-hours.d.ts +4 -0
- package/registry/examples/job-throughput/live-hours.js +33 -0
- package/registry/examples/job-throughput/live-hours.tsx +28 -0
- package/registry/examples/job-throughput/native/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/native/week-of-jobs.dark.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/native/week-of-jobs.light.png +0 -0
- package/registry/examples/job-throughput/native/week-of-jobs.tsx +16 -0
- package/registry/examples/job-throughput/week-of-jobs.d.ts +4 -0
- package/registry/examples/job-throughput/week-of-jobs.js +20 -0
- package/registry/examples/job-throughput/week-of-jobs.tsx +16 -0
- package/registry/examples/latency-chart/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/by-capability.js +26 -0
- package/registry/examples/latency-chart/by-capability.tsx +21 -0
- package/registry/examples/latency-chart/native/by-capability.d.ts +4 -0
- package/registry/examples/latency-chart/native/by-capability.dark.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.js +17 -0
- package/registry/examples/latency-chart/native/by-capability.light.png +0 -0
- package/registry/examples/latency-chart/native/by-capability.tsx +13 -0
- package/registry/examples/latency-chart/time-to-result.d.ts +4 -0
- package/registry/examples/latency-chart/time-to-result.js +27 -0
- package/registry/examples/latency-chart/time-to-result.tsx +22 -0
- package/registry/examples/line-chart/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/creator-earnings.js +35 -0
- package/registry/examples/line-chart/creator-earnings.tsx +30 -0
- package/registry/examples/line-chart/forecast.d.ts +4 -0
- package/registry/examples/line-chart/forecast.js +36 -0
- package/registry/examples/line-chart/forecast.tsx +30 -0
- package/registry/examples/line-chart/live-jobs.d.ts +4 -0
- package/registry/examples/line-chart/live-jobs.js +21 -0
- package/registry/examples/line-chart/live-jobs.tsx +23 -0
- package/registry/examples/line-chart/native/creator-earnings.d.ts +4 -0
- package/registry/examples/line-chart/native/creator-earnings.dark.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.js +32 -0
- package/registry/examples/line-chart/native/creator-earnings.light.png +0 -0
- package/registry/examples/line-chart/native/creator-earnings.tsx +26 -0
- package/registry/examples/line-chart/states.d.ts +4 -0
- package/registry/examples/line-chart/states.js +16 -0
- package/registry/examples/line-chart/states.tsx +13 -0
- package/registry/examples/pie-chart/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/credit-spend.js +30 -0
- package/registry/examples/pie-chart/credit-spend.tsx +24 -0
- package/registry/examples/pie-chart/native/credit-spend.d.ts +4 -0
- package/registry/examples/pie-chart/native/credit-spend.dark.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.js +17 -0
- package/registry/examples/pie-chart/native/credit-spend.light.png +0 -0
- package/registry/examples/pie-chart/native/credit-spend.tsx +12 -0
- package/registry/examples/pie-chart/storage-by-kind.d.ts +4 -0
- package/registry/examples/pie-chart/storage-by-kind.js +31 -0
- package/registry/examples/pie-chart/storage-by-kind.tsx +26 -0
- package/registry/examples/price-ticker/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/auction-room.js +21 -0
- package/registry/examples/price-ticker/auction-room.tsx +17 -0
- package/registry/examples/price-ticker/native/auction-room.d.ts +4 -0
- package/registry/examples/price-ticker/native/auction-room.dark.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.js +19 -0
- package/registry/examples/price-ticker/native/auction-room.light.png +0 -0
- package/registry/examples/price-ticker/native/auction-room.tsx +15 -0
- package/registry/examples/price-ticker/no-bid-yet.d.ts +4 -0
- package/registry/examples/price-ticker/no-bid-yet.js +11 -0
- package/registry/examples/price-ticker/no-bid-yet.tsx +6 -0
- package/registry/examples/radar-chart/model-comparison.d.ts +4 -0
- package/registry/examples/radar-chart/model-comparison.js +33 -0
- package/registry/examples/radar-chart/model-comparison.tsx +28 -0
- package/registry/examples/sankey/credit-flow.d.ts +4 -0
- package/registry/examples/sankey/credit-flow.js +37 -0
- package/registry/examples/sankey/credit-flow.tsx +32 -0
- package/registry/examples/scatter-chart/watch-time.d.ts +4 -0
- package/registry/examples/scatter-chart/watch-time.js +36 -0
- package/registry/examples/scatter-chart/watch-time.tsx +31 -0
- package/registry/examples/sparkline/bars.d.ts +4 -0
- package/registry/examples/sparkline/bars.js +12 -0
- package/registry/examples/sparkline/bars.tsx +7 -0
- package/registry/examples/sparkline/native/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/native/stat-trend.dark.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.js +12 -0
- package/registry/examples/sparkline/native/stat-trend.light.png +0 -0
- package/registry/examples/sparkline/native/stat-trend.tsx +7 -0
- package/registry/examples/sparkline/stat-trend.d.ts +4 -0
- package/registry/examples/sparkline/stat-trend.js +18 -0
- package/registry/examples/sparkline/stat-trend.tsx +15 -0
- package/registry/examples/sparkline/table-rows.d.ts +4 -0
- package/registry/examples/sparkline/table-rows.js +23 -0
- package/registry/examples/sparkline/table-rows.tsx +26 -0
- package/registry/examples/treemap/storage.d.ts +4 -0
- package/registry/examples/treemap/storage.js +17 -0
- package/registry/examples/treemap/storage.tsx +13 -0
- package/registry/funnel.json +487 -0
- package/registry/gauge.json +600 -0
- package/registry/geo-map.json +484 -0
- package/registry/globe.json +469 -0
- package/registry/goal-progress.json +520 -0
- package/registry/heatmap.json +531 -0
- package/registry/index.json +582 -0
- package/registry/job-throughput.json +654 -0
- package/registry/latency-chart.json +671 -0
- package/registry/line-chart.json +793 -0
- package/registry/pie-chart.json +1288 -0
- package/registry/price-ticker.json +684 -0
- package/registry/radar-chart.json +459 -0
- package/registry/sankey.json +503 -0
- package/registry/scatter-chart.json +559 -0
- package/registry/sparkline.json +563 -0
- package/registry/treemap.json +432 -0
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "funnel",
|
|
3
|
+
"package": "@krizaka/charts",
|
|
4
|
+
"type": "chart",
|
|
5
|
+
"title": "Funnel",
|
|
6
|
+
"summary": "Stages that lose people on the way, with the conversion from each stage to the next and from the first written beside it.",
|
|
7
|
+
"description": "Stages that lose people on the way, with the conversion from each stage to the next and from the first written beside it.",
|
|
8
|
+
"status": "beta",
|
|
9
|
+
"category": "charts",
|
|
10
|
+
"platforms": "web",
|
|
11
|
+
"engine": "echarts",
|
|
12
|
+
"tier": "advanced",
|
|
13
|
+
"whenToUse": [
|
|
14
|
+
"A sign-up or purchase journey: visit, sign-up, verification, first video, first sale."
|
|
15
|
+
],
|
|
16
|
+
"whenNotToUse": [
|
|
17
|
+
{
|
|
18
|
+
"when": "Flows that branch.",
|
|
19
|
+
"use": "sankey"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"when": "Stages that do not contain each other.",
|
|
23
|
+
"use": "bar-chart"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"bestPractices": [
|
|
27
|
+
"Order the stages as the journey goes; each count includes the next.",
|
|
28
|
+
"Name the columns of the table in your language (`fromFirstLabel`, `fromPreviousLabel`)."
|
|
29
|
+
],
|
|
30
|
+
"accessibility": {
|
|
31
|
+
"keyboard": [
|
|
32
|
+
{
|
|
33
|
+
"keys": "Tab",
|
|
34
|
+
"action": "Moves the focus to the plot (one tab stop), then to the data and export buttons."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"keys": "Arrow keys",
|
|
38
|
+
"action": "Walk the items one by one: each is announced and highlighted, its tooltip shown."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"keys": "Home / End",
|
|
42
|
+
"action": "Jump to the first or the last item."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"keys": "Esc",
|
|
46
|
+
"action": "Hides the tooltip and clears the highlight."
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"notes": [
|
|
50
|
+
"The plot is a group named by the title and described by a summary written from the data, read before anything else.",
|
|
51
|
+
"The data table is always in the page for assistive technology; “Show data” reveals it for everyone.",
|
|
52
|
+
"The engine (ECharts core and this one chart type) loads when the chart nears the screen; a skeleton of the same height holds its place, so nothing shifts.",
|
|
53
|
+
"Under reduced motion the chart is drawn without animation.",
|
|
54
|
+
"The summary says each step's conversion and the overall one."
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"related": [
|
|
58
|
+
"sankey",
|
|
59
|
+
"bar-chart"
|
|
60
|
+
],
|
|
61
|
+
"source": "packages/charts/src/meta/funnel.ts",
|
|
62
|
+
"install": {
|
|
63
|
+
"web": "npm install @krizaka/charts",
|
|
64
|
+
"native": "npx expo install react-native-svg\nnpm install @krizaka/charts"
|
|
65
|
+
},
|
|
66
|
+
"web": {
|
|
67
|
+
"entry": "@krizaka/charts/funnel",
|
|
68
|
+
"import": "import { Funnel } from \"@krizaka/charts/funnel\";",
|
|
69
|
+
"props": [
|
|
70
|
+
{
|
|
71
|
+
"component": "Funnel",
|
|
72
|
+
"description": "",
|
|
73
|
+
"props": [
|
|
74
|
+
{
|
|
75
|
+
"name": "data",
|
|
76
|
+
"type": "readonly T[]",
|
|
77
|
+
"default": null,
|
|
78
|
+
"description": "One row per stage, first stage first.",
|
|
79
|
+
"required": true
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "label",
|
|
83
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
84
|
+
"default": null,
|
|
85
|
+
"description": "The field (or function) naming the stage.",
|
|
86
|
+
"required": true
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "title",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"default": null,
|
|
92
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
93
|
+
"required": true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "value",
|
|
97
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
98
|
+
"default": null,
|
|
99
|
+
"description": "The field of how many reached it.",
|
|
100
|
+
"required": true
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "brand",
|
|
104
|
+
"type": "BrandId",
|
|
105
|
+
"default": null,
|
|
106
|
+
"description": "The brand whose palette the charts use. Without it, a chart follows a `.brand-<id>` ancestor, else Krizaka. Set it\nwhen the app loads a brand stylesheet on `:root` (`@krizaka/tokens/brands/orazaka.css`).",
|
|
107
|
+
"required": false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "className",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"default": null,
|
|
113
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
114
|
+
"required": false
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "dataTable",
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"default": null,
|
|
120
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
121
|
+
"required": false
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "description",
|
|
125
|
+
"type": "ReactNode",
|
|
126
|
+
"default": null,
|
|
127
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
128
|
+
"required": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "empty",
|
|
132
|
+
"type": "ReactNode",
|
|
133
|
+
"default": null,
|
|
134
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
135
|
+
"required": false
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "error",
|
|
139
|
+
"type": "ReactNode",
|
|
140
|
+
"default": null,
|
|
141
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
142
|
+
"required": false
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "exportable",
|
|
146
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
147
|
+
"default": null,
|
|
148
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
149
|
+
"required": false
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "format",
|
|
153
|
+
"type": "ValueFormat",
|
|
154
|
+
"default": null,
|
|
155
|
+
"description": "How the counts are written. Default `\"integer\"`.",
|
|
156
|
+
"required": false
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "fromFirstLabel",
|
|
160
|
+
"type": "string",
|
|
161
|
+
"default": null,
|
|
162
|
+
"description": "The header of the share of the first stage. Default “% first”.",
|
|
163
|
+
"required": false
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "fromPreviousLabel",
|
|
167
|
+
"type": "string",
|
|
168
|
+
"default": null,
|
|
169
|
+
"description": "The header of the share of the previous stage. Default “% previous”.",
|
|
170
|
+
"required": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "height",
|
|
174
|
+
"type": "number",
|
|
175
|
+
"default": null,
|
|
176
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
177
|
+
"required": false
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "hideTitle",
|
|
181
|
+
"type": "boolean",
|
|
182
|
+
"default": null,
|
|
183
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
184
|
+
"required": false
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "id",
|
|
188
|
+
"type": "string",
|
|
189
|
+
"default": null,
|
|
190
|
+
"description": "The id of the figure.",
|
|
191
|
+
"required": false
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "labels",
|
|
195
|
+
"type": "ChartLabelsInput",
|
|
196
|
+
"default": null,
|
|
197
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
198
|
+
"required": false
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "live",
|
|
202
|
+
"type": "boolean",
|
|
203
|
+
"default": null,
|
|
204
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
205
|
+
"required": false
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "loading",
|
|
209
|
+
"type": "boolean",
|
|
210
|
+
"default": null,
|
|
211
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
212
|
+
"required": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "locale",
|
|
216
|
+
"type": "Locale",
|
|
217
|
+
"default": null,
|
|
218
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
219
|
+
"required": false
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "renderer",
|
|
223
|
+
"type": "Renderer",
|
|
224
|
+
"default": null,
|
|
225
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
226
|
+
"required": false
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "stageLabel",
|
|
230
|
+
"type": "string",
|
|
231
|
+
"default": null,
|
|
232
|
+
"description": "The headers of the data table: the stage, the count, the share of the first, of the previous.",
|
|
233
|
+
"required": false
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "style",
|
|
237
|
+
"type": "CSSProperties",
|
|
238
|
+
"default": null,
|
|
239
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
240
|
+
"required": false
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "summary",
|
|
244
|
+
"type": "\"hidden\" | \"visible\"",
|
|
245
|
+
"default": null,
|
|
246
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
247
|
+
"required": false
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "summaryText",
|
|
251
|
+
"type": "string",
|
|
252
|
+
"default": null,
|
|
253
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
254
|
+
"required": false
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "valueLabel",
|
|
258
|
+
"type": "string",
|
|
259
|
+
"default": null,
|
|
260
|
+
"description": "The header of the counts.",
|
|
261
|
+
"required": false
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"examples": [
|
|
267
|
+
{
|
|
268
|
+
"name": "signup",
|
|
269
|
+
"title": "Sign-up funnel",
|
|
270
|
+
"description": "Orochia's creator sign-up, from visit to first sale.",
|
|
271
|
+
"path": "examples/funnel/signup.tsx",
|
|
272
|
+
"module": "@krizaka/charts/registry/examples/funnel/signup",
|
|
273
|
+
"code": "import { Funnel } from \"@krizaka/charts/funnel\";\n\nconst stages = [\n { stage: \"Visited the creator page\", people: 48_200 },\n { stage: \"Created an account\", people: 9_640 },\n { stage: \"Verified their identity\", people: 6_170 },\n { stage: \"Published a first video\", people: 3_210 },\n { stage: \"Made a first sale\", people: 1_180 },\n];\n\nexport default function Signup() {\n return (\n <Funnel\n title=\"Creator sign-up, September\"\n data={stages}\n label=\"stage\"\n value=\"people\"\n stageLabel=\"Stage\"\n valueLabel=\"Creators\"\n fromFirstLabel=\"% of visits\"\n fromPreviousLabel=\"% of previous\"\n />\n );\n}\n"
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"native": null,
|
|
278
|
+
"files": [],
|
|
279
|
+
"dependencies": [
|
|
280
|
+
"@krizaka/intl@workspace:^",
|
|
281
|
+
"d3-geo@^3.1.1",
|
|
282
|
+
"echarts@^6.1.0",
|
|
283
|
+
"topojson-client@^3.1.0"
|
|
284
|
+
],
|
|
285
|
+
"registryDependencies": [],
|
|
286
|
+
"demo": {
|
|
287
|
+
"path": "examples/funnel/signup.tsx",
|
|
288
|
+
"content": "import { Funnel } from \"@krizaka/charts/funnel\";\n\nconst stages = [\n { stage: \"Visited the creator page\", people: 48_200 },\n { stage: \"Created an account\", people: 9_640 },\n { stage: \"Verified their identity\", people: 6_170 },\n { stage: \"Published a first video\", people: 3_210 },\n { stage: \"Made a first sale\", people: 1_180 },\n];\n\nexport default function Signup() {\n return (\n <Funnel\n title=\"Creator sign-up, September\"\n data={stages}\n label=\"stage\"\n value=\"people\"\n stageLabel=\"Stage\"\n valueLabel=\"Creators\"\n fromFirstLabel=\"% of visits\"\n fromPreviousLabel=\"% of previous\"\n />\n );\n}\n"
|
|
289
|
+
},
|
|
290
|
+
"props": [
|
|
291
|
+
{
|
|
292
|
+
"component": "Funnel",
|
|
293
|
+
"description": "",
|
|
294
|
+
"props": [
|
|
295
|
+
{
|
|
296
|
+
"name": "data",
|
|
297
|
+
"type": "readonly T[]",
|
|
298
|
+
"default": null,
|
|
299
|
+
"description": "One row per stage, first stage first.",
|
|
300
|
+
"required": true
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "label",
|
|
304
|
+
"type": "string | ((datum: T, index: number) => string)",
|
|
305
|
+
"default": null,
|
|
306
|
+
"description": "The field (or function) naming the stage.",
|
|
307
|
+
"required": true
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "title",
|
|
311
|
+
"type": "string",
|
|
312
|
+
"default": null,
|
|
313
|
+
"description": "What the chart shows, in a few words: its accessible name, and its heading unless `hideTitle`.",
|
|
314
|
+
"required": true
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "value",
|
|
318
|
+
"type": "string | ((datum: T, index: number) => number)",
|
|
319
|
+
"default": null,
|
|
320
|
+
"description": "The field of how many reached it.",
|
|
321
|
+
"required": true
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "brand",
|
|
325
|
+
"type": "BrandId",
|
|
326
|
+
"default": null,
|
|
327
|
+
"description": "The brand whose palette the charts use. Without it, a chart follows a `.brand-<id>` ancestor, else Krizaka. Set it\nwhen the app loads a brand stylesheet on `:root` (`@krizaka/tokens/brands/orazaka.css`).",
|
|
328
|
+
"required": false
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "className",
|
|
332
|
+
"type": "string",
|
|
333
|
+
"default": null,
|
|
334
|
+
"description": "A class on the figure (layout: margins, grid placement).",
|
|
335
|
+
"required": false
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "dataTable",
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"default": null,
|
|
341
|
+
"description": "The \"Show data\" button (the table is in the page for screen readers either way). Default true.",
|
|
342
|
+
"required": false
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "description",
|
|
346
|
+
"type": "ReactNode",
|
|
347
|
+
"default": null,
|
|
348
|
+
"description": "A sentence under the title: the period, the unit, the source.",
|
|
349
|
+
"required": false
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "empty",
|
|
353
|
+
"type": "ReactNode",
|
|
354
|
+
"default": null,
|
|
355
|
+
"description": "What to show when there is nothing to draw (default: the `empty` label). An `EmptyState` of\n@krizaka /ui fits.",
|
|
356
|
+
"required": false
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "error",
|
|
360
|
+
"type": "ReactNode",
|
|
361
|
+
"default": null,
|
|
362
|
+
"description": "The data could not be loaded: `true` says the default words, a node says yours (a retry button…).",
|
|
363
|
+
"required": false
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "exportable",
|
|
367
|
+
"type": "boolean | readonly ExportFormat[]",
|
|
368
|
+
"default": null,
|
|
369
|
+
"description": "Export buttons: `true` for PNG, SVG and CSV, or the formats you want.",
|
|
370
|
+
"required": false
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"name": "format",
|
|
374
|
+
"type": "ValueFormat",
|
|
375
|
+
"default": null,
|
|
376
|
+
"description": "How the counts are written. Default `\"integer\"`.",
|
|
377
|
+
"required": false
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "fromFirstLabel",
|
|
381
|
+
"type": "string",
|
|
382
|
+
"default": null,
|
|
383
|
+
"description": "The header of the share of the first stage. Default “% first”.",
|
|
384
|
+
"required": false
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "fromPreviousLabel",
|
|
388
|
+
"type": "string",
|
|
389
|
+
"default": null,
|
|
390
|
+
"description": "The header of the share of the previous stage. Default “% previous”.",
|
|
391
|
+
"required": false
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "height",
|
|
395
|
+
"type": "number",
|
|
396
|
+
"default": null,
|
|
397
|
+
"description": "The height of the plot in pixels. Default 280 (a sparkline: 32).",
|
|
398
|
+
"required": false
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "hideTitle",
|
|
402
|
+
"type": "boolean",
|
|
403
|
+
"default": null,
|
|
404
|
+
"description": "Visually hide the title (it stays the chart's accessible name): a card that already has its heading.",
|
|
405
|
+
"required": false
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "id",
|
|
409
|
+
"type": "string",
|
|
410
|
+
"default": null,
|
|
411
|
+
"description": "The id of the figure.",
|
|
412
|
+
"required": false
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "labels",
|
|
416
|
+
"type": "ChartLabelsInput",
|
|
417
|
+
"default": null,
|
|
418
|
+
"description": "The words, translated: the buttons, the states, the written summary.",
|
|
419
|
+
"required": false
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "live",
|
|
423
|
+
"type": "boolean",
|
|
424
|
+
"default": null,
|
|
425
|
+
"description": "Streaming data (a job queue, an auction): no entrance on updates, no announcement of every new point.",
|
|
426
|
+
"required": false
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"name": "loading",
|
|
430
|
+
"type": "boolean",
|
|
431
|
+
"default": null,
|
|
432
|
+
"description": "The data is on its way: a skeleton of the chart, announced once.",
|
|
433
|
+
"required": false
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "locale",
|
|
437
|
+
"type": "Locale",
|
|
438
|
+
"default": null,
|
|
439
|
+
"description": "The locale of every figure and date (`\"fr-FR\"`). Default `\"en-US\"`.",
|
|
440
|
+
"required": false
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "renderer",
|
|
444
|
+
"type": "Renderer",
|
|
445
|
+
"default": null,
|
|
446
|
+
"description": "`svg` (default): sharp, exportable as SVG. `canvas`: for tens of thousands of marks.",
|
|
447
|
+
"required": false
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "stageLabel",
|
|
451
|
+
"type": "string",
|
|
452
|
+
"default": null,
|
|
453
|
+
"description": "The headers of the data table: the stage, the count, the share of the first, of the previous.",
|
|
454
|
+
"required": false
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"name": "style",
|
|
458
|
+
"type": "CSSProperties",
|
|
459
|
+
"default": null,
|
|
460
|
+
"description": "Inline style on the figure (layout only: colours come from the tokens).",
|
|
461
|
+
"required": false
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "summary",
|
|
465
|
+
"type": "\"hidden\" | \"visible\"",
|
|
466
|
+
"default": null,
|
|
467
|
+
"description": "The written summary: read by screen readers only (`\"hidden\"`, default), or shown under the chart (`\"visible\"`).",
|
|
468
|
+
"required": false
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "summaryText",
|
|
472
|
+
"type": "string",
|
|
473
|
+
"default": null,
|
|
474
|
+
"description": "Your own summary instead of the generated one (still read first by screen readers).",
|
|
475
|
+
"required": false
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "valueLabel",
|
|
479
|
+
"type": "string",
|
|
480
|
+
"default": null,
|
|
481
|
+
"description": "The header of the counts.",
|
|
482
|
+
"required": false
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
}
|
|
486
|
+
]
|
|
487
|
+
}
|