
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
其独特的架构让 D3 在算法层面保持可见且可替换,同时提供一致的运行时和可摇树导入,支持在不替换数据模型的情况下创建自定义可视化。
TanStack Charts
D3's power. A chart library's ergonomics.
A tiny TypeScript visualization grammar for responsive, accessible, server-rendered application charts.
Quick look · Documentation · React example · Conformance catalog · Roadmap
[!IMPORTANT] TanStack Charts is currently a private
0.0.0product proof. The packages are not published or ready for production use yet.
Most chart libraries are easy until the chart stops being standard. TanStack Charts gives you one typed grammar that can grow from a familiar line or bar chart into a product-specific visualization without replacing your data model or dropping down to a separate API.
import { max } from 'd3-array'
import { scaleBand, scaleLinear } from 'd3-scale'
import { barY, defineChart } from '@tanstack/charts'
import { Chart } from '@tanstack/react-charts'
const revenue = [
{ month: 'Jan', value: 42 },
{ month: 'Feb', value: 58 },
{ month: 'Mar', value: 76 },
{ month: 'Apr', value: 64 },
]
const revenueChart = defineChart({
marks: [
barY(revenue, {
x: 'month',
y: 'value',
}),
],
x: {
scale: scaleBand()
.domain(revenue.map((row) => row.month))
.padding(0.2),
},
y: {
scale: scaleLinear()
.domain([0, max(revenue, (row) => row.value) ?? 0])
.nice(),
label: 'Revenue',
grid: true,
},
})
export function RevenueChart() {
return (
)
}
Marks consume the original rows, channels describe their visual encodings, and configured D3 scales own the domain and mapping. TanStack copies those scales, assigns their responsive pixel ranges, compiles a
A tiny TypeScript visualization grammar for responsive, accessible, server-rendered charts—powered by granular D3 primitives.
根据分类、Topic 和编程语言匹配的相似项目。

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
Talivia is an open-source, self-hosted analytics platform that combines web analytics, session replay, and customer revenue tracking from multiple payment providers.

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.