AI
Charts logov1.0.0

LLMs.txt Documentation

How to get tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand @nofinite/charts.

Tip

Looking for unified ecosystem presets or multi-package rules? Visit our central AI Agents Hub.

We support LLMs.txt files for making @nofinite/charts data visualization primitives directly available to large language models.


Directory Overview

The following machine-readable context files are available:


Usage with Cursor & Windsurf

markdown
# Charts Rules for AI Assistants
1. Component Imports: Import charts from '@nofinite/charts/react' (AreaChart, BarChart, LineChart, PieChart, DonutChart, ScatterChart).
2. Data Accessors: Pass custom accessor functions: \`xAccessor={(d) => d.x}\`, \`yAccessor={(d) => d.y}\`.
3. Design Tokens: Charts automatically adhere to active NUICSS themes and dark/light OKLCH color palettes (var(--chart-1) through var(--chart-8)).