Download the visx Starter Kit and Chart Components

Every file here was written and tested for visx.app. The starter kit is a working Vite + React + TypeScript project built on visx 4.0.0. You can also grab a single chart component or the sample data on its own.

Recommended

visx React Starter Kit

A Vite + React + TypeScript project with all twelve chart components, sample data and a README. Run npm install, then npm run dev.

  • ZIP archive
  • 30.9 KB unpacked
  • visx 4.0.0 · React 18 or 19
  • MIT license
Download ZIP

Single chart components

Each file is a self-contained React component. It imports types.ts and theme.ts from the starter kit, so copy those two files alongside it.

Bar Chart

Compare values across categories. Includes a hover tooltip.

BarChart.tsx · 2.7 KB Download

Line Chart

Show a trend over ordered steps such as months.

LineChart.tsx · 1.8 KB Download

Area Chart

A smooth trend line with a soft gradient fill.

AreaChart.tsx · 2 KB Download

Horizontal Bar

Rankings and long category names read better sideways.

HorizontalBarChart.tsx · 1.5 KB Download

Pie Chart

Parts of a whole when you have a few slices.

PieChart.tsx · 2 KB Download

Donut Chart

A pie with the total shown in the centre.

DonutChart.tsx · 250 bytes Download

Scatter / Bubble

Position and dot size both encode the value.

ScatterChart.tsx · 1.7 KB Download

Lollipop Chart

A lighter bar chart for many categories.

LollipopChart.tsx · 1.9 KB Download

Step Line

Values that change at discrete moments.

StepLineChart.tsx · 1.7 KB Download

Radar Chart

Compare several dimensions on one scale.

RadarChart.tsx · 1.9 KB Download

Heat Strip

Colour intensity shows the value, like a mini heatmap.

HeatStrip.tsx · 1.4 KB Download

Sparkline

An axis-free trend for KPI tiles and tables.

Sparkline.tsx · 1.1 KB Download

Sample data

Sample data (CSV)

Twelve monthly label/value rows used by the starter charts.

CSV · 96 bytes Download

Sample data (JSON)

The same sample rows as a JSON array of { label, value } objects.

JSON · 753 bytes Download

Installing the starter kit

  1. Unzip visx-react-starter.zip anywhere on your computer.
  2. Open a terminal in the unzipped folder and run npm install. Yarn and pnpm work too.
  3. Run npm run dev and open the local address Vite prints, usually http://localhost:5173.
  4. Edit data/sample-data.json and watch every chart update.

The full walkthrough, including troubleshooting, is in our visx guide.

What you are downloading

  • Plain-text source files only: .tsx, .ts, .json, .csv, .md and one .html.
  • No executables, installers or minified bundles.
  • Dependencies are installed from the official npm registry when you run npm install.
  • Requires Node.js 20.19+ or 22.12+ for Vite 8.

visx itself is maintained by Airbnb on GitHub. For the library's own source, use the official repository.