# boardplot > boardplot is an open-source (Apache-2.0) TypeScript library and CLI that draws business charts, tables and maps from one JSON spec, as SVG, as PNG or as React components. AI agents use it through its MCP tools. Open source under Apache-2.0. Runs on your machine, with no account and no API key. - Install: `npm install boardplot`. It needs Node.js 22.12 or newer. - Draw a chart: `npx boardplot render spec.json --out charts` writes an SVG. Add `--format png` for a PNG. - MCP server for AI agents: `boardplot-mcp` (stdio), with the tools boardplot_list, boardplot_describe, boardplot_render, boardplot_measure, boardplot_fixtures, boardplot_feedback. - React: `BoardplotChart` from `boardplot/react/spec` draws any spec. Each chart type also has its own component. ## Start - [Quickstart](https://boardplot.com/quickstart/): Install the package and render a first chart with the CLI or React. - [For AI agents](https://boardplot.com/agents/): Install the plugin or the MCP server, and the MCP tools. - [Gallery](https://boardplot.com/gallery/): The chart types with rendered examples and their JSON specs. - [Use cases](https://boardplot.com/use-cases/): Prompts and steps for a deck, an analysis page, a React dashboard and a report built by an AI agent. - [Video](https://boardplot.com/video/): A silent 65-second reel of ten charts and tables, with a transcript. ## Chart types - [Column chart](https://boardplot.com/charts/column/): Compare years or groups in a column chart: vertical bars, grouped or stacked, with totals, shares, growth rates and prior-year or plan comparisons. - [Bar chart](https://boardplot.com/charts/bar/): Rank items or show a mix in a bar chart, grouped or stacked. It also draws a sensitivity tornado and a football field (valuation ranges by method). - [Line and area chart](https://boardplot.com/charts/line/): Show a trend over time with a line or area chart, with forecasts, intervals, events, bands and rank changes, also as stacked or 100% areas. - [Dimension switch table](https://boardplot.com/charts/dimswitch/): A dimension switch table shows KPIs over time for one dimension, such as channel, in a KPI view or a channel view. It derives ratios and changes from your sums. - [Management table](https://boardplot.com/charts/table/): Build a management table for reports or financial statements, with grouped rows, checked totals, calculated variances, status labels and color-coded cells. - [Waterfall chart](https://boardplot.com/charts/waterfall/): A waterfall chart (bridge chart or EBIT bridge) shows how a start value becomes an end value. Draw it vertically or horizontally, with computed totals. - [Combination chart](https://boardplot.com/charts/combo/): Draw columns with line or area overlays in one combination chart (combo chart), on one value axis or on two axes whose ticks line up. - [KPI card](https://boardplot.com/charts/kpi/): Put one metric on a KPI card: a label, the big value, up to two comparison chips, an optional attainment and a small trend line with the last value. - [Bullet chart](https://boardplot.com/charts/bullet/): Compare KPI rows with their targets in a bullet chart (bullet graph): qualitative bands, a dark measure bar, a target tick and the difference to target. - [Variance chart](https://boardplot.com/charts/variance/): Show differences from prior year, plan or forecast in a variance chart: difference columns, percentage pins, or good and bad caps on the actuals. - [Pie and doughnut chart](https://boardplot.com/charts/pie/): Show the shares of one whole in a pie chart or a doughnut (donut) chart, with labels inside or outside, a total in the center and exploded slices. - [Marimekko chart](https://boardplot.com/charts/mekko/): Map a market by segment and player with a Marimekko chart (Mekko chart): stacked columns of variable width, or bar-mekko rows for profit pools. - [Scatter and bubble chart](https://boardplot.com/charts/scatter/): Plot two measures per point in a scatter chart, with group colors and point labels, and add a third measure as bubble size for a bubble chart. - [Price-volume-mix chart](https://boardplot.com/charts/pvm/): Split a revenue change into price, volume, mix, new and lost items with a price-volume-mix chart (PVM bridge), derived from units and revenue per item. - [Heatmap chart](https://boardplot.com/charts/heatmap/): Show values or ratings by row and column in a heatmap chart, with a smooth or stepped color scale, values in the cells or Harvey balls (symbols filled in part). - [Funnel chart](https://boardplot.com/charts/funnel/): Follow stages from first contact to purchase in a funnel chart, as stacked rows or a centered silhouette, with the conversion rates between stages derived. - [Gantt chart](https://boardplot.com/charts/gantt/): Plan a project in a Gantt chart (timeline): a calendar that adapts to the span, activity bars, milestones, events and the time elapsed so far. - [Dot and dumbbell chart](https://boardplot.com/charts/dot/): Compare items by position in a dot chart: plain dots, dumbbells for ranges with the gap derived, or lollipops for single values. - [Slope chart](https://boardplot.com/charts/slope/): Show the change between two points in time for many items in a slope chart, with highlighted lines and end labels spread apart so they do not overlap. - [Bar table](https://boardplot.com/charts/bartable/): A bar table puts bars beside number columns, one panel per measure, so a reader sees the exact values and the split together. Each panel has its own scale. - [Small multiples chart](https://boardplot.com/charts/grid/): A small multiples chart repeats a chart in a grid of panels, such as one per region. It can also stack variance rows or metrics over the same categories. - [Cohort chart](https://boardplot.com/charts/cohort/): A cohort chart shows retention or conversion by start cohort and period. It derives each rate from counts and weights the averages by cohort size. - [Choropleth map chart](https://boardplot.com/charts/choropleth/): Color regions by value on a choropleth map. Six map packs are bundled: world, Europe, EU27, DACH (Germany, Austria, Switzerland), German states and US states. - [Tile map chart](https://boardplot.com/charts/tilemap/): Show regions as tiles of equal size in a tile map chart, so small regions count as much as large ones, with a color scale and a mark for missing data. - [Sparkline chart](https://boardplot.com/charts/sparkline/): A sparkline is a small line chart with no axes that shows the shape of one series. Use it in a KPI card or table row, with value labels or a reference line. - [Status matrix chart](https://boardplot.com/charts/status/): Show the state of each item per period in a status matrix chart, with a fixed set of states, empty cells kept visible and a key for every state. - [Pareto chart](https://boardplot.com/charts/pareto/): A Pareto chart finds the few causes behind most of a total: sorted columns and a cumulative share line, with the items up to a stated threshold highlighted. - [Histogram chart](https://boardplot.com/charts/histogram/): Show how one sample of raw values spreads in a histogram chart: equal-width bins, with the binning rule, the bin width and n printed on the chart. - [Box plot chart](https://boardplot.com/charts/box/): Compare the distribution of groups in a box plot chart (box and whisker) from raw observations, with quartiles, whiskers, outliers and n per group. - [Likert chart](https://boardplot.com/charts/likert/): Show agreement across survey statements in a Likert chart: diverging stacked bars around the neutral midpoint, with shares and net scores derived. - [Butterfly chart](https://boardplot.com/charts/butterfly/): Compare two measures for the same list of rows in a butterfly chart: two mirrored horizontal bar panes around one shared column of category names. - [Waffle chart](https://boardplot.com/charts/waffle/): Show the share of a whole as a grid of square cells in a waffle chart, one panel per category, with the total on top and shares rounded to whole cells. - [Treemap chart](https://boardplot.com/charts/treemap/): Show parts of a whole as nested areas in a treemap chart, in one or two levels: rectangles with exact areas, or cells inside a circle. - [Sankey diagram](https://boardplot.com/charts/sankey/): A Sankey diagram shows how a total flows from sources to targets, such as channels to outcomes or a budget to cost types. Ribbon width is the size of the flow. - [Population pyramid](https://boardplot.com/charts/pyramid/): A population pyramid compares two groups across mirrored bands on one scale, such as age bands by sex, with the youngest band always at the bottom. - [Diagram chart](https://boardplot.com/charts/diagram/): A diagram chart draws driver trees, processes, architectures and org charts as connected shapes, from eight layout presets, with lines routed around the boxes. ## Docs and source - [Manual](https://boardplot.com/docs/manual/): The spec, MCP, the CLI, React, sizing, errors and themes. - [Chart reference](https://boardplot.com/docs/): One page per chart type with its data fields, options, annotations and sizing, plus the shared options, React and theme reference. - [Shared options](https://boardplot.com/docs/reference/options/): The options every boardplot chart type accepts: target and size, label kinds, value cells and annotation anchors, with values and defaults. - [React components](https://boardplot.com/docs/reference/react/): The React components of boardplot: BoardplotChart, a component per chart type, rows from a query, tables, container sizing and the theme provider. - [Theme](https://boardplot.com/docs/reference/theme/): The theme tokens of boardplot: the presets, a minimal brand theme, the tokens per target, the theme errors and fonts. - [Chart reading counts](https://boardplot.com/docs/reference/reading/): The reading.counts array that boardplot render returns with each chart: structural counts from the layout that writes the accessible description. - [Fixtures](https://boardplot.com/docs/reference/fixtures/): Every fixture of boardplot by chart type: complete specs that render, with their chart id, kind and what each one shows. - [Warning codes](https://boardplot.com/docs/reference/warnings/): Every warning and refusal code a boardplot chart can return: its severity, whether a fix comes with it, and the chart type that returns it. - [Comparison with Apache ECharts](https://boardplot.com/compare/): What each library is made for, in one table with sources. - [llms.txt in the repository](https://github.com/boardplot/boardplot/blob/main/llms.txt): Index of the manual and the chart reference, on GitHub. - [Source code and issues](https://github.com/boardplot/boardplot): GitHub repository, Apache-2.0. - [npm package](https://www.npmjs.com/package/boardplot): Releases and install. ## Optional - [Contact](https://boardplot.com/contact/): Write to the maintainers. - [Impressum](https://boardplot.com/impressum/): Legal notice of the operator. - [Privacy](https://boardplot.com/privacy/): Privacy policy. - [Licenses](https://boardplot.com/licenses/): Licenses of boardplot and of the code this site ships.