Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/TargetProcess/tauCharts/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to the Taucharts documentation. Taucharts is a flexible JavaScript charting library built on D3 that lets you map data fields to visual properties with a simple, declarative API and extend charts with a rich plugin ecosystem.

Get Started

Build your first chart in under 5 minutes

Installation

Install via npm, CDN, or Bower

Chart Types

Scatter plots, lines, bars, maps, and more

Plugins

Tooltips, legends, annotations, trendlines, export

Configuration

Data, dimensions, scales, and visual guides

API Reference

Full Chart and Plot API with TypeScript types

What is Taucharts?

Taucharts turns your data arrays into interactive SVG charts with minimal configuration. Describe what to visualize — which fields map to x, y, color, and size — and Taucharts auto-detects dimension types, configures scales, and renders a production-ready chart.
1

Install

npm install taucharts
2

Create a chart

import Taucharts from 'taucharts';
import 'taucharts/dist/taucharts.min.css';

const chart = new Taucharts.Chart({
    type: 'scatterplot',
    x: 'Effort',
    y: 'Bugs',
    color: 'Team',
    data: [
        { Effort: 40, Bugs: 12, Team: 'Alpha' },
        { Effort: 55, Bugs: 8,  Team: 'Beta' }
    ]
});

chart.renderTo('#chart');
3

Add interactivity

plugins: [
    Taucharts.api.plugins.get('tooltip')(),
    Taucharts.api.plugins.get('legend')()
]
Taucharts 2.x requires D3 v4 or v5. Use taucharts@1 only if you need D3 v3 support.

Build docs developers (and LLMs) love