Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/charts-landing/bundle-size-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { scaleLinear } from '@tanstack/charts/scales/linear'
import { barX, defineChart, text } from '@tanstack/charts'

export const bundleSizeSnapshot = [
{ library: 'TanStack Charts', size: 40 },
{ library: 'TanStack Charts', size: 29 },
{ library: 'uPlot', size: 22 },
{ library: 'Chart.js', size: 46 },
{ library: 'visx', size: 49 },
Expand Down
5 changes: 2 additions & 3 deletions src/components/landing/ChartsLanding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ export default function ChartsLanding({
A lot of chart. Not a lot of bundle.
</h2>
<p className="max-w-2xl border-l-2 border-[var(--landing-accent)] pl-5 text-ds-body-sm text-text-secondary sm:text-ds-body-md">
TanStack Charts starts at 40 kB minified and gzip compressed in the
current matched suite, with its SVG renderer, scales, axes, and
styles included.
Basic React line, 29 kB minified + gzip. SVG, compact scales, axes
included.
</p>
</div>

Expand Down
Loading
Loading