{"name":"ChartslibraryUI","url":"https://chartslibraryui.com","version":"1.0.0","generated":"build","install":{"free":"npx chartslibraryui add <slug>","pro":"npx chartslibraryui add <slug> --from <pro-folder>","shadcn":"npx shadcn@latest add https://chartslibraryui.com/r/<slug>.json"},"pricing":{"currency":"USD","model":"one-time","plans":[{"id":"individual","name":"Individual","seats":"One developer","regular":149,"launch":79},{"id":"team","name":"Team","seats":"Up to 10 developers at one company","regular":399,"launch":199}]},"shadcnNamespace":{"@chartslibraryui":"https://chartslibraryui.com/r/{name}.json"},"categories":[{"id":"trend","name":"Trend"},{"id":"comparison","name":"Comparison"},{"id":"composition","name":"Composition"},{"id":"distribution","name":"Distribution"},{"id":"kpi","name":"KPIs & tables"},{"id":"finance","name":"Finance & variance"},{"id":"forecast","name":"Forecasting"},{"id":"grid","name":"Grids & calendars"},{"id":"flow","name":"Flows & funnels"},{"id":"dashboard","name":"Dashboard blocks"}],"charts":[{"slug":"line-chart","name":"Line chart","component":"LineChart","tier":"free","category":"trend","categoryName":"Trend","summary":"Trends over time for one to four series, with gaps for missing data and marked forecasts.","description":"A React line chart for dashboards: honest gaps for missing data, forecast and partial-period marking, direct end labels, crosshair tooltip, keyboard and table view.","useFor":["One metric over time, or up to four that share a unit","Actual against plan or last year on the same scale","One highlighted series against grey context series","Rates that move in a narrow band (set zero={false})"],"avoidWhen":[{"text":"Series are in different units: don't add a second axis","alt":"combo-chart"},{"text":"More than four or five series overlap","alt":"small-multiples"},{"text":"Only two points in time matter","alt":"slope-chart"},{"text":"You're showing parts of a total","alt":"stacked-area-chart"}],"goodPractice":["Write the takeaway as the title and the unit and period in the subtitle.","Use forecastFrom so forecast periods are dashed and shaded, never mistaken for actuals.","Leave missing values as null; the chart draws a gap and says how many are missing.","Use highlight to put one series in colour and the rest in grey."],"data":"An array of rows, one per period, with an x key (label or date) and one numeric key per series. null for missing values.","dataShape":"[{ month: \"Jan 26\", revenue: 1840000, plan: 1800000 }, ...]","keywords":["react line chart","time series","trend","forecast","dashboard chart"],"related":["area-chart","step-line-chart","index-chart","actual-vs-forecast-chart"],"variants":["Actual vs plan","With forecast","Daily, time axis","Highlight one series"],"url":"https://chartslibraryui.com/charts/line-chart","registry":"https://chartslibraryui.com/r/line-chart.json","import":"@/components/charts/line-chart"},{"slug":"area-chart","name":"Area chart","component":"AreaChart","tier":"free","category":"trend","categoryName":"Trend","summary":"A line with a light wash to zero, for volume over time.","description":"A React area chart for volume over time: zero baseline enforced, light 12% wash, gaps for missing data, crosshair tooltip and table view.","useFor":["Volume or count over time (sessions, orders, tickets)","A single cumulative total","Adding visual weight to one headline trend"],"avoidWhen":[{"text":"Two or more series overlap, so the areas hide each other","alt":"line-chart"},{"text":"Showing parts of a total","alt":"stacked-area-chart"},{"text":"The values are rates that don't start near zero","alt":"line-chart"}],"goodPractice":["Areas always start at zero; that is what the filled area encodes.","Keep to one series, or two at most.","Use a line chart if you need to zoom in on a narrow range."],"data":"Rows with an x key and one numeric value key per series.","dataShape":"[{ week: \"W1\", sessions: 48210 }, ...]","keywords":["react area chart","volume chart","filled line chart"],"related":["line-chart","stacked-area-chart","sparkline"],"variants":["Single series","With partial period"],"url":"https://chartslibraryui.com/charts/area-chart","registry":"https://chartslibraryui.com/r/area-chart.json","import":"@/components/charts/area-chart"},{"slug":"stacked-area-chart","name":"Stacked area chart","component":"StackedAreaChart","tier":"free","category":"trend","categoryName":"Trend","summary":"A total over time and what it's made of, in absolute terms or as 100% shares.","description":"A React stacked area chart for totals and their composition over time, with a 100% mode, negative-value checks, and total and share in the tooltip.","useFor":["Revenue by product or plan over time","Composition of a total over many periods (normalize for shares)","Showing the total and its parts at once"],"avoidWhen":[{"text":"Precise comparison of a middle layer matters; only the bottom layer has a flat baseline","alt":"small-multiples"},{"text":"Any series can be negative","alt":"stacked-bar-chart"},{"text":"Few periods and the mix shift is the story","alt":"mix-shift-chart"}],"goodPractice":["Put the most stable or most important series at the bottom.","Keep to five or six layers.","A missing value breaks the whole column; the chart won't invent a total."],"data":"Rows with an x key and one non-negative numeric key per layer.","dataShape":"[{ month: \"Jan\", starter: 88000, team: 164000, business: 212000 }, ...]","keywords":["react stacked area chart","composition over time","100% area chart"],"related":["area-chart","stacked-bar-chart","mix-shift-chart"],"variants":["Absolute","100% shares"],"url":"https://chartslibraryui.com/charts/stacked-area-chart","registry":"https://chartslibraryui.com/r/stacked-area-chart.json","import":"@/components/charts/stacked-area-chart"},{"slug":"step-line-chart","name":"Step line chart","component":"StepLineChart","tier":"free","category":"trend","categoryName":"Trend","summary":"Values that change on a date and hold: prices, rates, headcount.","description":"A React step line chart for values that change at discrete moments and hold, such as prices, interest rates, plan tiers and headcount.","useFor":["Price or rate changes","Headcount or seat counts","Configuration values or limits over time"],"avoidWhen":[{"text":"The value changes continuously (a sloped line is more honest)","alt":"line-chart"}],"goodPractice":["Use a time axis (xType=\"time\") when changes happen at irregular dates.","Include the current date as the last row so the final step extends to today."],"data":"Rows with an x key (category or date) and the value in effect from that point.","dataShape":"[{ date: \"2025-06-01\", price: 18 }, ...]","keywords":["react step chart","step line","price history chart"],"related":["line-chart","area-chart"],"variants":["Price changes","Headcount by team"],"url":"https://chartslibraryui.com/charts/step-line-chart","registry":"https://chartslibraryui.com/r/step-line-chart.json","import":"@/components/charts/step-line-chart"},{"slug":"index-chart","name":"Index chart","component":"IndexChart","tier":"free","category":"trend","categoryName":"Trend","summary":"Measures in different units rebased to 100, so growth compares on one honest axis.","description":"A React index chart that rebases series to 100 at a base period, the honest alternative to a dual-axis chart for comparing growth across units.","useFor":["Comparing growth of measures in different units (revenue vs users vs headcount)","Relative performance against a benchmark","Replacing a dual-axis chart"],"avoidWhen":[{"text":"The absolute level matters more than growth","alt":"small-multiples"},{"text":"A series is zero or missing at the base period"}],"goodPractice":["Say the base period in the subtitle (\"Jan 2025 = 100\").","Choose a base period that isn't an outlier."],"data":"Rows with an x key and numeric keys; every series needs a non-zero value at the base period.","dataShape":"[{ month: \"Jan\", revenue: 1.2e6, customers: 840 }, ...]","keywords":["react index chart","rebased chart","dual axis alternative"],"related":["line-chart","combo-chart","small-multiples"],"variants":["Growth since January"],"url":"https://chartslibraryui.com/charts/index-chart","registry":"https://chartslibraryui.com/r/index-chart.json","import":"@/components/charts/index-chart"},{"slug":"sparkline","name":"Sparkline","component":"Sparkline","tier":"free","category":"trend","categoryName":"Trend","summary":"A word-sized trend for tiles, tables and inline text.","description":"A React sparkline component: a responsive inline trend with gaps for missing values, an end dot and an accessible summary label.","useFor":["Trend context inside KPI tiles and tables","Many small trends at a glance"],"avoidWhen":[{"text":"Readers need values or axes","alt":"line-chart"}],"goodPractice":["Always pair with the actual number; a sparkline shows shape, not magnitude.","Use the same time window for every sparkline in a table."],"data":"An array of numbers (null for gaps), oldest first.","dataShape":"[412, 430, 428, null, 455, 471]","keywords":["react sparkline","inline chart","micro chart"],"related":["kpi-tile","table-chart"],"variants":["Inline sparklines"],"url":"https://chartslibraryui.com/charts/sparkline","registry":"https://chartslibraryui.com/r/sparkline.json","import":"@/components/charts/sparkline"},{"slug":"bar-chart","name":"Bar chart","component":"BarChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Columns for one measure across periods or categories, always from zero.","description":"A React bar (column) chart with a zero baseline enforced, value labels that only show when they fit, highlights, partial-period marking and a table view.","useFor":["One measure across periods (monthly new revenue)","A handful of categories","Showing an incomplete current period honestly"],"avoidWhen":[{"text":"Category names are long or there are many categories","alt":"horizontal-bar-chart"},{"text":"You want to emphasise the trend more than each period","alt":"line-chart"}],"goodPractice":["Bars always start at zero; a truncated bar axis exaggerates differences.","Mark the current, incomplete period with partialFrom.","Highlight the one bar the story is about."],"data":"Rows with a category key and one numeric value key.","dataShape":"[{ month: \"Jan\", newMrr: 34200 }, ...]","keywords":["react bar chart","column chart","react chart component"],"related":["horizontal-bar-chart","grouped-bar-chart","stacked-bar-chart"],"variants":["Monthly, partial period","Highlight a bar","Positive and negative"],"url":"https://chartslibraryui.com/charts/bar-chart","registry":"https://chartslibraryui.com/r/bar-chart.json","import":"@/components/charts/bar-chart"},{"slug":"horizontal-bar-chart","name":"Horizontal bar chart","component":"HorizontalBarChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Ranked bars with readable labels, the default for comparing items.","description":"A React horizontal bar chart for ranked comparisons with long labels: sorted by default, value labels at bar ends, highlight and table view.","useFor":["Ranking items (regions, products, features)","Long category names","More than about eight categories"],"avoidWhen":[{"text":"The categories are periods in time","alt":"bar-chart"},{"text":"Values are positive and negative changes","alt":"diverging-bar-chart"}],"goodPractice":["Sort by value unless the categories have a natural order.","Label values at the bar ends and drop the axis.","Highlight the item that matters, keep the rest grey."],"data":"Rows with a label key and one numeric value key.","dataShape":"[{ region: \"North America\", revenue: 4820000 }, ...]","keywords":["react horizontal bar chart","ranked bar chart","bar chart long labels"],"related":["bar-chart","dot-plot","diverging-bar-chart"],"variants":["Ranked","Feature adoption"],"url":"https://chartslibraryui.com/charts/horizontal-bar-chart","registry":"https://chartslibraryui.com/r/horizontal-bar-chart.json","import":"@/components/charts/horizontal-bar-chart"},{"slug":"grouped-bar-chart","name":"Grouped bar chart","component":"GroupedBarChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Two to four measures side by side per category.","description":"A React grouped bar chart for comparing two to four measures per category, such as this year vs last year, with consistent series colours and a table view.","useFor":["This year vs last year by quarter","Two or three segments compared per category"],"avoidWhen":[{"text":"More than four series","alt":"small-multiples"},{"text":"The change between the two values is the story","alt":"dumbbell-chart"}],"goodPractice":["Put the comparison (last year) in grey and the current period in the accent.","Keep the series order consistent across charts."],"data":"Rows with a category key and one numeric key per series.","dataShape":"[{ quarter: \"Q1\", lastYear: 2.9e6, thisYear: 3.4e6 }, ...]","keywords":["react grouped bar chart","clustered column chart","side by side bars"],"related":["bar-chart","stacked-bar-chart","dumbbell-chart"],"variants":["Year over year","Horizontal"],"url":"https://chartslibraryui.com/charts/grouped-bar-chart","registry":"https://chartslibraryui.com/r/grouped-bar-chart.json","import":"@/components/charts/grouped-bar-chart"},{"slug":"stacked-bar-chart","name":"Stacked bar chart","component":"StackedBarChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Totals and their parts, with negatives stacked below zero.","description":"A React stacked bar chart with totals, 100% mode, negative values stacked below zero, 2px segment gaps and tooltips that list every part and the total.","useFor":["Totals and their composition per period","Inflows and outflows (positive and negative parts)","Composition across categories (normalize)"],"avoidWhen":[{"text":"Readers need to compare middle segments precisely","alt":"grouped-bar-chart"},{"text":"Many periods: the stack becomes noise","alt":"stacked-area-chart"}],"goodPractice":["Put the series compared most often at the bottom, on the baseline.","Use at most five or six segments.","Total labels are hidden automatically when stacks mix signs, because a net label above the positive stack misleads."],"data":"Rows with a category key and one numeric key per segment. Negative values stack downward.","dataShape":"[{ month: \"Jan\", newMrr: 34000, expansion: 9100, churned: -11200 }, ...]","keywords":["react stacked bar chart","stacked column chart","100% stacked bar"],"related":["grouped-bar-chart","stacked-area-chart","variance-trend-chart"],"variants":["Stacked with totals","Positive and negative","100% horizontal"],"url":"https://chartslibraryui.com/charts/stacked-bar-chart","registry":"https://chartslibraryui.com/r/stacked-bar-chart.json","import":"@/components/charts/stacked-bar-chart"},{"slug":"diverging-bar-chart","name":"Diverging bar chart","component":"DivergingBarChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Positive and negative changes either side of zero, coloured by business direction.","description":"A React diverging bar chart for signed changes, where colour follows whether the change is favorable (cost down is good), not the sign.","useFor":["Change by region or product","Variance by line item","Net scores (NPS change, sentiment)"],"avoidWhen":[{"text":"You need the levels as well as the variance","alt":"variance-chart"}],"goodPractice":["Set favorable=\"down\" for costs, churn or latency.","Sort by value so the largest movers sit at the ends."],"data":"Rows with a label key and a signed numeric key.","dataShape":"[{ item: \"Cloud\", change: 17800 }, { item: \"Travel\", change: -4700 }]","keywords":["react diverging bar chart","positive negative bar chart","variance bar"],"related":["horizontal-bar-chart","variance-chart","waterfall-chart"],"variants":["Cost change (down is good)","Score change"],"url":"https://chartslibraryui.com/charts/diverging-bar-chart","registry":"https://chartslibraryui.com/r/diverging-bar-chart.json","import":"@/components/charts/diverging-bar-chart"},{"slug":"dot-plot","name":"Dot plot","component":"DotPlot","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Many items on one scale, optionally against a comparison, with no zero required.","description":"A React dot plot for comparing many items on one scale, with an optional prior-period dot and favorable-coloured connector. Less ink than bars.","useFor":["Rates in a narrow band (conversion by segment)","Current vs prior per item","Long lists where bars would be heavy"],"avoidWhen":[{"text":"Magnitude from zero matters","alt":"horizontal-bar-chart"}],"goodPractice":["Dots encode position, so the axis doesn't need zero; say so if it matters.","Sort by value."],"data":"Rows with a label key, a value key and optionally a comparison key.","dataShape":"[{ region: \"Nordics\", margin: 0.31, prior: 0.29 }, ...]","keywords":["react dot plot","cleveland dot plot","lollipop alternative"],"related":["dumbbell-chart","horizontal-bar-chart","slope-chart"],"variants":["With comparison","Single value"],"url":"https://chartslibraryui.com/charts/dot-plot","registry":"https://chartslibraryui.com/r/dot-plot.json","import":"@/components/charts/dot-plot"},{"slug":"slope-chart","name":"Slope chart","component":"SlopeChart","tier":"free","category":"comparison","categoryName":"Comparison","summary":"Two points in time per item, where both change and rank matter.","description":"A React slope chart comparing two periods per item, with collision-free labels and lines coloured by favorable direction or a highlight.","useFor":["Market share then vs now","Before/after for up to ~10 items"],"avoidWhen":[{"text":"More than about 10 items","alt":"dot-plot"},{"text":"More than two time points","alt":"line-chart"}],"goodPractice":["Highlight the one or two items the story is about.","Label both ends with values; skip the axis."],"data":"Rows with a label key and two numeric keys (from, to).","dataShape":"[{ vendor: \"Ours\", y2024: 0.142, y2026: 0.187 }, ...]","keywords":["react slope chart","slopegraph","before after chart"],"related":["dumbbell-chart","dot-plot","line-chart"],"variants":["Market share","Highlight one"],"url":"https://chartslibraryui.com/charts/slope-chart","registry":"https://chartslibraryui.com/r/slope-chart.json","import":"@/components/charts/slope-chart"},{"slug":"donut-chart","name":"Donut chart","component":"DonutChart","tier":"free","category":"composition","categoryName":"Composition","summary":"One whole in up to six parts, with the total in the middle and a value legend.","description":"A React donut chart with the total in the centre, a value-and-share legend, '<1%' for tiny slices, automatic 'Other' folding and rejection of negative values.","useFor":["One whole split into two to six parts","A share-of-total headline"],"avoidWhen":[{"text":"More than six parts or precise comparison","alt":"horizontal-bar-chart"},{"text":"Comparing composition across periods","alt":"mix-shift-chart"},{"text":"Any value is negative"}],"goodPractice":["Order slices deliberately; the chart keeps your order.","Use highlight to colour only the slice that matters.","Folding small slices into Other is stated in a note, never silent."],"data":"Rows with a label key and a non-negative value key.","dataShape":"[{ source: \"Organic search\", visits: 48200 }, ...]","keywords":["react donut chart","doughnut chart","react pie chart alternative"],"related":["pie-chart","waffle-chart","treemap"],"variants":["Traffic sources","Highlight a slice"],"url":"https://chartslibraryui.com/charts/donut-chart","registry":"https://chartslibraryui.com/r/donut-chart.json","import":"@/components/charts/donut-chart"},{"slug":"pie-chart","name":"Pie chart","component":"PieChart","tier":"free","category":"composition","categoryName":"Composition","summary":"Two to five parts of one whole, with a value-and-share legend.","description":"A React pie chart for two to five parts of a whole, with a share legend, tiny-slice handling and validation that rejects negative values.","useFor":["Two to five parts of a single whole","When the audience expects a pie"],"avoidWhen":[{"text":"More than five parts, or close values","alt":"horizontal-bar-chart"},{"text":"You want a centre total","alt":"donut-chart"}],"goodPractice":["Prefer a bar chart when values are close, because angles are hard to compare.","Never use 3D or exploded slices."],"data":"Rows with a label key and a non-negative value key.","dataShape":"[{ plan: \"Team\", customers: 820 }, ...]","keywords":["react pie chart","pie chart component"],"related":["donut-chart","waffle-chart"],"variants":["Customers by plan"],"url":"https://chartslibraryui.com/charts/pie-chart","registry":"https://chartslibraryui.com/r/pie-chart.json","import":"@/components/charts/pie-chart"},{"slug":"treemap","name":"Treemap","component":"Treemap","tier":"free","category":"composition","categoryName":"Composition","summary":"Many parts of one whole, sized by area and optionally grouped.","description":"A React treemap (squarified layout) for many parts of a whole, with one level of grouping, readable in-tile labels and share-of-total tooltips.","useFor":["Spend by vendor grouped by category","Spotting the few items that dominate a total"],"avoidWhen":[{"text":"Exact ranking matters","alt":"horizontal-bar-chart"},{"text":"Values can be negative"}],"goodPractice":["Group one level at most.","Use the table view for the long tail of tiny tiles."],"data":"Rows with a label key, a positive value key and an optional group key.","dataShape":"[{ name: \"Cloud hosting\", group: \"Infrastructure\", value: 96000 }, ...]","keywords":["react treemap","treemap chart","hierarchical chart"],"related":["donut-chart","horizontal-bar-chart"],"variants":["Grouped","Ungrouped"],"url":"https://chartslibraryui.com/charts/treemap","registry":"https://chartslibraryui.com/r/treemap.json","import":"@/components/charts/treemap"},{"slug":"waffle-chart","name":"Waffle chart","component":"WaffleChart","tier":"free","category":"composition","categoryName":"Composition","summary":"A countable part-to-whole: one square is one percent.","description":"A React waffle chart where one square is 1%, with largest-remainder allocation so squares always add to 100, and a single-rate mode.","useFor":["A single rate (\"64 in 100 accounts are active\")","Two to four parts of a whole for general audiences"],"avoidWhen":[{"text":"Small differences matter; the resolution is one percent","alt":"horizontal-bar-chart"}],"goodPractice":["Pass total to show a single rate against the remainder.","Keep to four parts or fewer."],"data":"Rows with a label key and a non-negative value key; optional total.","dataShape":"[{ label: \"Active weekly\", value: 0.64 }, ...]","keywords":["react waffle chart","percentage grid","part to whole"],"related":["donut-chart","pie-chart"],"variants":["Parts","Single rate"],"url":"https://chartslibraryui.com/charts/waffle-chart","registry":"https://chartslibraryui.com/r/waffle-chart.json","import":"@/components/charts/waffle-chart"},{"slug":"scatter-chart","name":"Scatter chart","component":"ScatterChart","tier":"free","category":"distribution","categoryName":"Distribution","summary":"The relationship between two measures, with groups, bubbles, quadrants and a trend line.","description":"A React scatter plot with optional bubble size, up to three groups, quadrant lines, a least-squares trend line, point labels and nearest-point tooltips.","useFor":["Two measures per item (seats vs ARR)","Spotting outliers and clusters","Quadrant analysis"],"avoidWhen":[{"text":"More than a few thousand points","alt":"heatmap"},{"text":"One measure over time","alt":"line-chart"}],"goodPractice":["Name both axes with units.","Never clip outliers; the chart always shows every point.","A trend line describes association, not cause."],"data":"Rows with two numeric keys; optional size, group and name keys.","dataShape":"[{ account: \"Acme\", seats: 240, arr: 98000, segment: \"Mid-market\" }, ...]","keywords":["react scatter plot","bubble chart","react scatter chart"],"related":["histogram","strip-plot","box-plot"],"variants":["Grouped with trend","Bubbles and quadrants"],"url":"https://chartslibraryui.com/charts/scatter-chart","registry":"https://chartslibraryui.com/r/scatter-chart.json","import":"@/components/charts/scatter-chart"},{"slug":"histogram","name":"Histogram","component":"Histogram","tier":"free","category":"distribution","categoryName":"Distribution","summary":"The shape of one distribution, with automatic binning and a median marker.","description":"A React histogram with Freedman–Diaconis binning on round edges, a median or mean marker, small-sample warnings and a binned table view.","useFor":["Deal sizes, response times, session lengths","Checking skew and long tails"],"avoidWhen":[{"text":"Fewer than ~20 observations","alt":"strip-plot"},{"text":"Comparing several groups","alt":"box-plot"}],"goodPractice":["Try a couple of bin counts; the shape can change.","Mark the median for skewed data, not the mean."],"data":"An array of numbers, or rows plus a value key.","dataShape":"[14800, 22100, 9800, ...]","keywords":["react histogram","distribution chart","frequency chart"],"related":["box-plot","strip-plot","scatter-chart"],"variants":["Deal sizes","Fixed bin width"],"url":"https://chartslibraryui.com/charts/histogram","registry":"https://chartslibraryui.com/r/histogram.json","import":"@/components/charts/histogram"},{"slug":"strip-plot","name":"Strip plot","component":"StripPlot","tier":"free","category":"distribution","categoryName":"Distribution","summary":"Every observation visible by group, with the median marked.","description":"A React strip plot (jittered dot plot) showing every observation by group with a median tick, which is honest for small and medium samples.","useFor":["Small and medium samples by group","Showing how few points a summary rests on"],"avoidWhen":[{"text":"Thousands of points per group","alt":"box-plot"}],"goodPractice":["Jitter is deterministic, so the chart doesn't change between renders.","Use the table view for summary statistics."],"data":"Long-format rows with a group key and a numeric value key.","dataShape":"[{ tier: \"Priority\", hours: 1.4 }, ...]","keywords":["react strip plot","jitter plot","dot distribution"],"related":["box-plot","histogram"],"variants":["Response times"],"url":"https://chartslibraryui.com/charts/strip-plot","registry":"https://chartslibraryui.com/r/strip-plot.json","import":"@/components/charts/strip-plot"},{"slug":"kpi-tile","name":"KPI tile","component":"KpiTile","tier":"free","category":"kpi","categoryName":"KPIs & tables","summary":"A headline number with its comparison, direction-aware colour and an optional sparkline.","description":"A React KPI tile / stat card with value, signed delta vs a named comparison, favorable-aware colour, percentage-point deltas for rates and a sparkline.","useFor":["The three to five numbers a dashboard leads with","A number that needs its comparison next to it"],"avoidWhen":[{"text":"The trend is the message","alt":"line-chart"}],"goodPractice":["Always name the comparison (\"vs last year\").","Set favorable=\"down\" for costs, churn and latency.","Rates compare in percentage points by default."],"data":"A value, optionally a comparison value, a format and a trend array.","dataShape":"{ label: \"ARR\", value: 18420000, compare: 15960000, format: \"currency\" }","keywords":["react kpi card","stat tile","metric card","dashboard kpi"],"related":["kpi-row","sparkline","bullet-chart"],"variants":["Tiles"],"url":"https://chartslibraryui.com/charts/kpi-tile","registry":"https://chartslibraryui.com/r/kpi-tile.json","import":"@/components/charts/kpi-tile"},{"slug":"kpi-row","name":"KPI row","component":"KpiRow","tier":"free","category":"kpi","categoryName":"KPIs & tables","summary":"A responsive row of KPI tiles that wraps cleanly.","description":"A responsive React KPI row: a grid of stat tiles with consistent sizing that wraps at a minimum tile width.","useFor":["The top of a dashboard","Summary blocks in reports"],"avoidWhen":[{"text":"More than about six numbers","alt":"table-chart"}],"goodPractice":["Order tiles by importance, left to right.","Use the same comparison period for every tile."],"data":"An array of KPI tile props.","dataShape":"[{ label: \"ARR\", value: 18.4e6, compare: 15.9e6, format: \"currency\" }, ...]","keywords":["react kpi row","dashboard header","stat cards"],"related":["kpi-tile","bullet-chart"],"variants":["SaaS headline"],"url":"https://chartslibraryui.com/charts/kpi-row","registry":"https://chartslibraryui.com/r/kpi-row.json","import":"@/components/charts/kpi-row"},{"slug":"target-bar-chart","name":"Target bar chart","component":"TargetBarChart","tier":"free","category":"kpi","categoryName":"KPIs & tables","summary":"Progress against a target per item: bar, target tick and attainment in words.","description":"A React progress-to-target chart: actual bars with target markers and attainment percentages, coloured by whether the target is met.","useFor":["Sales against quota by team","Spend against budget by department","OKR progress"],"avoidWhen":[{"text":"You need qualitative ranges as well (poor/fair/good)","alt":"bullet-chart"},{"text":"Variance is signed or negative","alt":"variance-chart"}],"goodPractice":["Use favorable=\"down\" when staying under the target is the goal."],"data":"Rows with a label key, an actual key and a target key.","dataShape":"[{ region: \"EMEA\", revenue: 2.9e6, target: 2.8e6 }, ...]","keywords":["react progress chart","target chart","quota attainment chart"],"related":["bullet-chart","variance-chart","kpi-tile"],"variants":["Revenue vs target"],"url":"https://chartslibraryui.com/charts/target-bar-chart","registry":"https://chartslibraryui.com/r/target-bar-chart.json","import":"@/components/charts/target-bar-chart"},{"slug":"combo-chart","name":"Combo chart","component":"ComboChart","tier":"free","category":"kpi","categoryName":"KPIs & tables","summary":"Two measures in different units on stacked panels sharing one x axis: never a dual axis.","description":"A React combo chart for bars and a line in different units, drawn as two aligned panels with one shared crosshair. The honest dual-axis replacement.","useFor":["Orders (bars) and average order value (line)","Volume and rate on the same periods"],"avoidWhen":[{"text":"Both measures share a unit","alt":"line-chart"},{"text":"Only growth matters","alt":"index-chart"}],"goodPractice":["Each panel gets its own honest axis; bars always start at zero.","Put the measure readers care about most on top."],"data":"Rows with an x key and two numeric keys.","dataShape":"[{ month: \"Jan\", orders: 12400, aov: 54.2 }, ...]","keywords":["react combo chart","bar and line chart","dual axis alternative"],"related":["index-chart","small-multiples","bar-chart"],"variants":["Orders and AOV"],"url":"https://chartslibraryui.com/charts/combo-chart","registry":"https://chartslibraryui.com/r/combo-chart.json","import":"@/components/charts/combo-chart"},{"slug":"table-chart","name":"Table chart","component":"TableChart","tier":"free","category":"kpi","categoryName":"KPIs & tables","summary":"A sortable table with inline bars, coloured deltas and sparklines.","description":"A React data table chart: sortable columns, inline bars on a shared scale, favorable-coloured deltas, sparklines, a totals row and CSV export.","useFor":["Exact values plus visual comparison","Product or account reviews","Anything a reader will want to copy"],"avoidWhen":[{"text":"The shape of a trend is the main message","alt":"line-chart"}],"goodPractice":["Keep one bar column; more compete for attention.","Put the identifying column first."],"data":"Rows plus column definitions (text, number, bar, delta, sparkline).","dataShape":"[{ product: \"Core\", revenue: 6.2e6, growth: 0.14, trend: [4.8, 5.0, 5.3] }, ...]","keywords":["react data table chart","table with sparklines","table with bars"],"related":["kpi-row","sparkline","variance-chart"],"variants":["Product review"],"url":"https://chartslibraryui.com/charts/table-chart","registry":"https://chartslibraryui.com/r/table-chart.json","import":"@/components/charts/table-chart"},{"slug":"small-multiples","name":"Small multiples","component":"SmallMultiples","tier":"free","category":"trend","categoryName":"Trend","summary":"One small chart per group on a shared scale, instead of a ten-colour spaghetti chart.","description":"React small multiples: a responsive grid of mini line, area or bar charts on a shared scale with synchronised hover across panels.","useFor":["The same metric across many regions or products","Comparing shapes across five or more series"],"avoidWhen":[{"text":"Two or three series that need precise comparison","alt":"line-chart"}],"goodPractice":["Keep the shared scale; independent scales hide differences in level and are flagged in a note.","Order panels meaningfully (order=\"last-desc\")."],"data":"Long-format rows: facet key, x key, value key.","dataShape":"[{ region: \"Nordics\", month: \"Jan\", signups: 212 }, ...]","keywords":["react small multiples","trellis chart","facet chart"],"related":["line-chart","index-chart"],"variants":["Signups by region","Bars"],"url":"https://chartslibraryui.com/charts/small-multiples","registry":"https://chartslibraryui.com/r/small-multiples.json","import":"@/components/charts/small-multiples"},{"slug":"waterfall-chart","name":"Waterfall chart","component":"WaterfallChart","tier":"pro","category":"finance","categoryName":"Finance & variance","summary":"A bridge from one total to another, with computed subtotals that always close.","description":"A React waterfall chart for financial bridges: computed subtotals, favorable-aware colours, connector lines and a warning when given subtotals don't add up.","useFor":["Plan to actual bridges","Revenue to operating income walks","Last year to this year by driver"],"avoidWhen":[{"text":"The steps happen over time rather than as drivers","alt":"variance-trend-chart"},{"text":"Totals dwarf the steps so they become invisible; split the bridge or show steps only"}],"goodPractice":["Start with a total; subtotals are computed, so the arithmetic always closes.","Set favorable=\"down\" for cost bridges.","Keep to about 10 steps; group the rest."],"data":"An ordered list of steps: { label, value, kind: 'total' | 'step' | 'subtotal' }.","dataShape":"[{ label: \"Plan\", value: 8.2e6, kind: \"total\" }, { label: \"Volume\", value: 640000 }, { label: \"Actual\", kind: \"subtotal\" }]","keywords":["react waterfall chart","bridge chart","financial waterfall","ebitda bridge"],"related":["variance-chart","variance-trend-chart","pnl-summary"],"variants":["Plan to actual","Income walk with subtotals"],"url":"https://chartslibraryui.com/charts/waterfall-chart","registry":null,"import":"@/components/charts/waterfall-chart"},{"slug":"variance-chart","name":"Variance chart","component":"VarianceChart","tier":"pro","category":"finance","categoryName":"Finance & variance","summary":"Actual vs plan per line item: levels and variance side by side, coloured by business direction.","description":"A React budget-vs-actual variance chart: level bars with plan ticks next to favorable-coloured variance bars and % variance, with per-row direction for mixed P&L lines.","useFor":["Budget vs actual by cost centre","Revenue and cost lines vs plan","Monthly business reviews"],"avoidWhen":[{"text":"The question is what drove one total","alt":"waterfall-chart"}],"goodPractice":["Pass favorable={{ key }} when a table mixes income and cost lines.","Keep P&L order unless sorting by variance helps the story."],"data":"Rows with a label key, an actual key and a plan key; optional per-row favorable key.","dataShape":"[{ category: \"Travel\", amount: 22100, budget: 30000 }, ...]","keywords":["react budget vs actual chart","variance chart","plan vs actual"],"related":["waterfall-chart","diverging-bar-chart","budget-vs-actual-board"],"variants":["Budget vs actual","Income and cost lines"],"url":"https://chartslibraryui.com/charts/variance-chart","registry":null,"import":"@/components/charts/variance-chart"},{"slug":"variance-trend-chart","name":"Variance trend","component":"VarianceTrendChart","tier":"pro","category":"finance","categoryName":"Finance & variance","summary":"Variance to plan by period, split into drivers either side of zero with the net marked.","description":"A React variance trend chart: monthly variance drivers stacked either side of zero with the net variance as a dot, to show whether the same driver keeps you behind.","useFor":["Monthly variance to plan by driver (volume, price, mix, FX)","Seeing whether a miss is persistent or one-off"],"avoidWhen":[{"text":"One period only","alt":"waterfall-chart"}],"goodPractice":["Keep drivers in the same order every month.","Four drivers or fewer."],"data":"Rows with an x key and one signed key per driver.","dataShape":"[{ month: \"Jan\", volume: 82000, price: 14000, mix: -21000, fx: -6000 }, ...]","keywords":["react variance analysis chart","price volume mix chart"],"related":["waterfall-chart","stacked-bar-chart"],"variants":["Drivers by month"],"url":"https://chartslibraryui.com/charts/variance-trend-chart","registry":null,"import":"@/components/charts/variance-trend-chart"},{"slug":"bullet-chart","name":"Bullet chart","component":"BulletChart","tier":"pro","category":"kpi","categoryName":"KPIs & tables","summary":"KPIs against targets and qualitative ranges: the compact replacement for gauges.","description":"A React bullet chart: one row per KPI with its own scale, grey qualitative bands, actual bar and target tick. Fits many KPIs in the space of one gauge.","useFor":["Several KPIs against targets on one panel","Attainment with poor/fair/good ranges"],"avoidWhen":[{"text":"No targets or ranges exist","alt":"kpi-row"}],"goodPractice":["Each row has its own format and scale, so mixed units are fine.","Bands are grey; colour is reserved for the actual."],"data":"An array of { label, actual, target, bands, format }.","dataShape":"[{ label: \"New ARR\", actual: 2.64e6, target: 3e6, bands: [2.1e6, 2.7e6, 3.3e6], format: \"currency\" }]","keywords":["react bullet chart","kpi target chart","gauge alternative"],"related":["target-bar-chart","kpi-tile"],"variants":["Quarterly KPIs"],"url":"https://chartslibraryui.com/charts/bullet-chart","registry":null,"import":"@/components/charts/bullet-chart"},{"slug":"football-field-chart","name":"Football field","component":"FootballFieldChart","tier":"pro","category":"finance","categoryName":"Finance & variance","summary":"Valuation or scenario ranges by method against reference prices.","description":"A React football field chart for valuation ranges by method, with labelled reference lines (offer price, current price) and low > high validation.","useFor":["Valuation summaries","Scenario ranges for a forecast","Price ranges by method"],"avoidWhen":[{"text":"You have a full distribution, not a range","alt":"box-plot"}],"goodPractice":["Order methods deliberately (market, intrinsic, transaction).","Label the reference line with its value."],"data":"Rows with a label key and low/high numeric keys.","dataShape":"[{ method: \"DCF\", low: 455, high: 590 }, ...]","keywords":["react football field chart","valuation chart","range chart"],"related":["box-plot","dumbbell-chart"],"variants":["Valuation ranges"],"url":"https://chartslibraryui.com/charts/football-field-chart","registry":null,"import":"@/components/charts/football-field-chart"},{"slug":"pareto-chart","name":"Pareto chart","component":"ParetoChart","tier":"pro","category":"comparison","categoryName":"Comparison","summary":"How concentrated a total is: sorted shares and the cumulative curve on one axis.","description":"A React Pareto chart with bars and the cumulative curve on one 0–100% axis (no dual axis), an 80% marker and a pinned 'Other' category.","useFor":["Ticket causes, defect types, revenue concentration","Deciding what to fix first"],"avoidWhen":[{"text":"Categories have a natural order","alt":"bar-chart"}],"goodPractice":["Pin \"Other\" last with pinLast.","The threshold is a convention, not a law; say why you use 80%."],"data":"Rows with a category key and a non-negative value key.","dataShape":"[{ cause: \"Login & SSO\", tickets: 1240 }, ...]","keywords":["react pareto chart","80/20 chart","cumulative chart"],"related":["horizontal-bar-chart","treemap"],"variants":["Ticket causes"],"url":"https://chartslibraryui.com/charts/pareto-chart","registry":null,"import":"@/components/charts/pareto-chart"},{"slug":"actual-vs-forecast-chart","name":"Actual vs forecast","component":"ActualVsForecastChart","tier":"pro","category":"forecast","categoryName":"Forecasting","summary":"Actuals solid, forecast dashed from the last actual, plan line and uncertainty band.","description":"A React actual vs forecast chart: solid actuals, dashed forecast joined at the last actual, shaded forecast period, plan line, bands and an end-of-horizon callout vs plan.","useFor":["Revenue or demand forecasts against plan","Latest estimate reviews","Any chart where forecast and actual share a line"],"avoidWhen":[{"text":"Uncertainty is the main message","alt":"fan-chart"},{"text":"Month-to-date pacing","alt":"pacing-chart"}],"goodPractice":["Keep actual and forecast in separate keys; the chart joins them honestly.","Say when the forecast was made in the subtitle."],"data":"Rows with an x key, an actual key (null in the future), a forecast key, and optional plan and band keys.","dataShape":"[{ month: \"Aug\", actual: 2.31e6, forecast: null, plan: 2.23e6 }, { month: \"Sep\", actual: null, forecast: 2.40e6, plan: 2.29e6 }]","keywords":["react forecast chart","actual vs forecast chart","plan vs actual line chart"],"related":["fan-chart","pacing-chart","line-chart"],"variants":["Revenue forecast vs plan","With interval"],"url":"https://chartslibraryui.com/charts/actual-vs-forecast-chart","registry":null,"import":"@/components/charts/actual-vs-forecast-chart"},{"slug":"fan-chart","name":"Fan chart","component":"FanChart","tier":"pro","category":"forecast","categoryName":"Forecasting","summary":"A forecast with nested uncertainty intervals that widen with the horizon.","description":"A React fan chart for forecasts with 50% and 80% intervals, actual history, a central forecast line and checks that bounds are ordered.","useFor":["Forecasts where uncertainty matters","Scenario communication to executives"],"avoidWhen":[{"text":"You don't have real interval estimates; don't draw invented bands"}],"goodPractice":["Label what the bands mean (\"80% of simulated outcomes\").","Don't set zero when the series sits far from zero."],"data":"Rows with actual, forecast and lower/upper keys for one or two intervals.","dataShape":"[{ month: \"Mar\", actual: null, forecast: 1260, p10: 1190, p90: 1330, p25: 1225, p75: 1295 }]","keywords":["react fan chart","forecast uncertainty chart","confidence band chart"],"related":["actual-vs-forecast-chart","line-chart"],"variants":["Demand forecast"],"url":"https://chartslibraryui.com/charts/fan-chart","registry":null,"import":"@/components/charts/fan-chart"},{"slug":"pacing-chart","name":"Pacing chart","component":"PacingChart","tier":"pro","category":"forecast","categoryName":"Forecasting","summary":"Cumulative month-to-date actual against plan with a run-rate projection.","description":"A React pacing chart for month-to-date or quarter-to-date tracking: cumulative actual vs plan with a run-rate projection to period end.","useFor":["Will we land the month?","Bookings or spend pacing against plan"],"avoidWhen":[{"text":"Values aren't cumulative","alt":"actual-vs-forecast-chart"}],"goodPractice":["Run-rate projection assumes the pace to date continues; say so.","Show the whole period so the remaining gap is visible."],"data":"One row per day of the period with cumulative actual (null in the future) and cumulative plan.","dataShape":"[{ day: \"1\", actual: 74000, plan: 80000 }, ...]","keywords":["react pacing chart","month to date chart","run rate chart"],"related":["actual-vs-forecast-chart","bullet-chart"],"variants":["Bookings pacing"],"url":"https://chartslibraryui.com/charts/pacing-chart","registry":null,"import":"@/components/charts/pacing-chart"},{"slug":"heatmap","name":"Heatmap","component":"Heatmap","tier":"pro","category":"grid","categoryName":"Grids & calendars","summary":"A grid coloured by value, sequential or diverging, with missing cells hatched.","description":"A React heatmap with sequential and diverging scales, hatched missing cells (never zero), in-cell labels when they fit, keyboard navigation and a legend.","useFor":["Channel by week vs plan","Hour by weekday activity","Item by month matrices"],"avoidWhen":[{"text":"Readers need precise values for a few items","alt":"table-chart"}],"goodPractice":["Use a diverging scale only when the centre means something (plan, zero).","Set a fixed domain to compare several heatmaps."],"data":"Long-format rows: row key, column key, value key.","dataShape":"[{ channel: \"Search\", week: \"W1\", delta: 1.4 }, ...]","keywords":["react heatmap","matrix chart","react heat map component"],"related":["cohort-heatmap","calendar-heatmap","table-chart"],"variants":["Diverging vs plan","Sequential activity"],"url":"https://chartslibraryui.com/charts/heatmap","registry":null,"import":"@/components/charts/heatmap"},{"slug":"cohort-heatmap","name":"Cohort heatmap","component":"CohortHeatmap","tier":"pro","category":"grid","categoryName":"Grids & calendars","summary":"Retention by cohort with incomplete cohorts left blank and a size-weighted average.","description":"A React cohort retention chart: a triangle heatmap where unobserved cells stay blank, cohort sizes and a size-weighted average row from observed cells only.","useFor":["Customer or logo retention","Revenue retention (values above 100% allowed)","Payback curves by cohort"],"avoidWhen":[{"text":"You only have one cohort","alt":"line-chart"}],"goodPractice":["Use null for periods not yet observed, never 0.","Pass size so the average is weighted correctly."],"data":"An array of cohorts: { cohort, size, values[] } where values are fractions of the starting cohort.","dataShape":"[{ cohort: \"Jan 26\", size: 340, values: [1, 0.78, 0.72, null] }]","keywords":["react cohort chart","retention heatmap","cohort analysis chart"],"related":["heatmap","line-chart"],"variants":["Logo retention"],"url":"https://chartslibraryui.com/charts/cohort-heatmap","registry":null,"import":"@/components/charts/cohort-heatmap"},{"slug":"calendar-heatmap","name":"Calendar heatmap","component":"CalendarHeatmap","tier":"pro","category":"grid","categoryName":"Grids & calendars","summary":"A year of daily values as weeks × weekdays.","description":"A React calendar heatmap for daily data: weekly rhythm, seasonality and outages at a glance, UTC-safe dates, empty days left empty.","useFor":["Daily active users","Deploys, incidents or sales per day"],"avoidWhen":[{"text":"Exact day-to-day values matter","alt":"line-chart"}],"goodPractice":["Pass ISO date strings; they're read as UTC so days never shift.","One calendar per year."],"data":"Rows with a date key and a numeric value key.","dataShape":"[{ date: \"2026-03-14\", value: 5210 }, ...]","keywords":["react calendar heatmap","github style contribution chart","daily heatmap"],"related":["heatmap","line-chart"],"variants":["Daily active users"],"url":"https://chartslibraryui.com/charts/calendar-heatmap","registry":null,"import":"@/components/charts/calendar-heatmap"},{"slug":"candlestick-chart","name":"Candlestick chart","component":"CandlestickChart","tier":"pro","category":"trend","categoryName":"Trend","summary":"OHLC prices with volume in its own panel and malformed rows rejected.","description":"A React candlestick chart with a separate volume panel (no dual axis), hollow-up/filled-down encoding and validation of malformed OHLC rows.","useFor":["Daily or weekly prices","Trading or pricing dashboards"],"avoidWhen":[{"text":"Only the close matters","alt":"line-chart"}],"goodPractice":["Rising candles are hollow and falling filled, so direction never depends on colour.","Rows with high < open/close are rejected and listed, not silently fixed."],"data":"Rows with an x key and open, high, low, close (and optional volume) keys.","dataShape":"[{ date: \"2026-03-02\", open: 142.1, high: 144.0, low: 141.2, close: 143.5, volume: 1.8e6 }]","keywords":["react candlestick chart","ohlc chart","stock chart react"],"related":["line-chart","box-plot"],"variants":["Daily prices with volume"],"url":"https://chartslibraryui.com/charts/candlestick-chart","registry":null,"import":"@/components/charts/candlestick-chart"},{"slug":"box-plot","name":"Box plot","component":"BoxPlot","tier":"pro","category":"distribution","categoryName":"Distribution","summary":"Median, quartiles, whiskers and every outlier per group, with n printed.","description":"A React box plot with Tukey whiskers, every outlier drawn, n per group, optional raw points and a quartile table.","useFor":["Comparing distributions across groups","Response times by tier"],"avoidWhen":[{"text":"Fewer than ~5 values per group","alt":"strip-plot"}],"goodPractice":["Show points too when n is small.","Explain the box (middle half) and the whiskers for non-technical readers."],"data":"Long-format rows with a group key and a numeric value key.","dataShape":"[{ tier: \"Standard\", hours: 4.2 }, ...]","keywords":["react box plot","box and whisker chart"],"related":["strip-plot","histogram"],"variants":["Response times"],"url":"https://chartslibraryui.com/charts/box-plot","registry":null,"import":"@/components/charts/box-plot"},{"slug":"dumbbell-chart","name":"Dumbbell chart","component":"DumbbellChart","tier":"pro","category":"comparison","categoryName":"Comparison","summary":"Before and after per item with the change printed and coloured by direction.","description":"A React dumbbell chart for before/after comparisons, sorted by change, with favorable-coloured connectors and printed deltas.","useFor":["Conversion before and after a change","Prior vs current per segment"],"avoidWhen":[{"text":"The level matters more than the change","alt":"dot-plot"}],"goodPractice":["Sort by change.","Use percentage points for rate changes (the default for percent formats)."],"data":"Rows with a label key and from/to numeric keys.","dataShape":"[{ segment: \"Starter\", before: 0.031, after: 0.042 }]","keywords":["react dumbbell chart","before after chart","connected dot plot"],"related":["dot-plot","slope-chart"],"variants":["Conversion change"],"url":"https://chartslibraryui.com/charts/dumbbell-chart","registry":null,"import":"@/components/charts/dumbbell-chart"},{"slug":"funnel-chart","name":"Funnel chart","component":"FunnelChart","tier":"pro","category":"flow","categoryName":"Flows & funnels","summary":"Nested stages with step and overall conversion printed.","description":"A React funnel chart with centred stage bars, step conversion and conversion from the top, and a warning when stages aren't nested.","useFor":["Signup to paid conversion","Sales pipeline stages"],"avoidWhen":[{"text":"Stages aren't nested (a later stage can be larger)","alt":"bar-chart"}],"goodPractice":["Report both step and overall conversion.","Use the same time window for every stage."],"data":"Rows in stage order with a stage key and a count key.","dataShape":"[{ stage: \"Visited pricing\", value: 48200 }, ...]","keywords":["react funnel chart","conversion funnel","sales funnel chart"],"related":["sankey-chart","bar-chart"],"variants":["Trial conversion"],"url":"https://chartslibraryui.com/charts/funnel-chart","registry":null,"import":"@/components/charts/funnel-chart"},{"slug":"sankey-chart","name":"Sankey chart","component":"SankeyChart","tier":"pro","category":"flow","categoryName":"Flows & funnels","summary":"Conserved flows between stages, with cycle checks and in/out balance warnings.","description":"A React sankey diagram for conserved flows (revenue to profit, budget to teams), with cycle rejection and warnings when a node's inflow and outflow don't balance.","useFor":["Revenue to costs and profit","Budget allocation","Traffic to outcomes"],"avoidWhen":[{"text":"Flows aren't conserved or are cyclical","alt":"funnel-chart"},{"text":"Many small flows; it becomes a hairball"}],"goodPractice":["Fix imbalance warnings in the data; they usually mean a missing line.","Highlight the path the story is about."],"data":"An array of links: { source, target, value }.","dataShape":"[{ source: \"Revenue\", target: \"Gross profit\", value: 9.2 }, ...]","keywords":["react sankey chart","sankey diagram","flow diagram"],"related":["funnel-chart","waterfall-chart"],"variants":["Revenue to profit"],"url":"https://chartslibraryui.com/charts/sankey-chart","registry":null,"import":"@/components/charts/sankey-chart"},{"slug":"mix-shift-chart","name":"Mix shift chart","component":"MixShiftChart","tier":"pro","category":"composition","categoryName":"Composition","summary":"100% columns joined by bands, showing how a mix changes across periods.","description":"A React mix shift chart: 100% stacked columns joined by bands with in-segment shares and percentage-point changes in the tooltip.","useFor":["Revenue mix by plan across years","Channel mix shift"],"avoidWhen":[{"text":"Many periods","alt":"stacked-area-chart"}],"goodPractice":["Two to six periods, up to eight parts.","Order parts consistently, the largest-growing at the top."],"data":"Rows with a period key and one non-negative key per part.","dataShape":"[{ period: \"2024\", starter: 0.24, team: 0.35, business: 0.27, enterprise: 0.14 }]","keywords":["react mix chart","100% stacked column","composition change chart"],"related":["stacked-area-chart","stacked-bar-chart","donut-chart"],"variants":["Plan mix by year"],"url":"https://chartslibraryui.com/charts/mix-shift-chart","registry":null,"import":"@/components/charts/mix-shift-chart"},{"slug":"budget-vs-actual-board","name":"Budget vs actual board","component":"BudgetVsActualBoard","tier":"pro","category":"dashboard","categoryName":"Dashboard blocks","summary":"KPIs, cumulative spend vs budget and variance by category in one block.","description":"A ready-made React budget vs actual dashboard block: KPI row, cumulative spend against budget and variance by category, built from library charts.","useFor":["Monthly budget reviews","Department spend dashboards"],"avoidWhen":[{"text":"You need a different layout; compose the charts directly"}],"goodPractice":["Pass favorable=\"up\" for revenue boards."],"data":"Monthly rows (actual, budget) and category rows (actual, budget).","dataShape":"monthly: [{ month: \"Jan\", actual: 312000, budget: 300000 }], categories: [{ category: \"Travel\", actual: 22100, budget: 30000 }]","keywords":["react budget dashboard","budget vs actual dashboard"],"related":["variance-chart","actual-vs-forecast-chart","kpi-row"],"variants":["Operating budget"],"url":"https://chartslibraryui.com/charts/budget-vs-actual-board","registry":null,"import":"@/components/charts/budget-vs-actual-board"},{"slug":"saas-metrics-board","name":"SaaS metrics board","component":"SaasMetricsBoard","tier":"pro","category":"dashboard","categoryName":"Dashboard blocks","summary":"ARR, NRR, churn tiles; MRR vs plan; MRR movements; cohort retention.","description":"A ready-made React SaaS metrics dashboard block: KPI tiles, MRR vs plan, MRR movements and a cohort retention heatmap.","useFor":["Board and investor updates","Internal SaaS dashboards"],"avoidWhen":[{"text":"You need a different layout; compose the charts directly"}],"goodPractice":["Use the same period for every tile's comparison."],"data":"KPI tile props, monthly MRR rows with movement keys, and cohorts.","dataShape":"monthly: [{ month: \"Jan 25\", mrr: 438000, plan: 423000, newMrr: 26000, expansion: 9000, churned: -11000 }]","keywords":["react saas dashboard","mrr chart","saas metrics"],"related":["kpi-row","stacked-bar-chart","cohort-heatmap"],"variants":["Subscription business"],"url":"https://chartslibraryui.com/charts/saas-metrics-board","registry":null,"import":"@/components/charts/saas-metrics-board"},{"slug":"pnl-summary","name":"P&L summary","component":"PnlSummary","tier":"pro","category":"dashboard","categoryName":"Dashboard blocks","summary":"A generic income statement table with variances plus a walk to the bottom line.","description":"A React P&L summary block: income statement table with plan and prior variances coloured per line (income vs cost), plus a waterfall walk with computed subtotals.","useFor":["Monthly or quarterly financial reviews","Board pack income statement pages"],"avoidWhen":[{"text":"Detailed account-level P&L with hundreds of lines; use a real table component"}],"goodPractice":["Mark cost lines favorable=\"down\" so variances read correctly.","Mark computed lines as subtotal; they are checked against their components."],"data":"An ordered list of lines: { line, actual, plan, prior, favorable, subtotal }.","dataShape":"[{ line: \"Revenue\", actual: 12.4e6, plan: 12e6, prior: 10.3e6, favorable: \"up\" }, ...]","keywords":["react p&l chart","income statement component","financial report react"],"related":["waterfall-chart","variance-chart"],"variants":["Quarterly P&L"],"url":"https://chartslibraryui.com/charts/pnl-summary","registry":null,"import":"@/components/charts/pnl-summary"}]}