Bar Chart
Compare values across categories. Includes a hover tooltip.
Free chart previews and tested visx starter code for React developers.
Paste your data, preview twelve chart types instantly, then download matching visx React components. Clear tutorials help you install, customize and troubleshoot visx in real projects.
Paste or type your own numbers and every chart updates as you type. When one looks right, download it as an SVG or grab the matching visx React component.
Compare values across categories. Includes a hover tooltip.
Show a trend over ordered steps such as months.
A smooth trend line with a soft gradient fill.
Rankings and long category names read better sideways.
Parts of a whole when you have a few slices.
A pie with the total shown in the centre.
Position and dot size both encode the value.
A lighter bar chart for many categories.
Values that change at discrete moments.
Compare several dimensions on one scale.
Colour intensity shows the value, like a mini heatmap.
An axis-free trend for KPI tiles and tables.
The previews are drawn with lightweight SVG in your browser so the page stays fast. They use the same layout as the downloadable visx components, which you run in your own React app.
visx is one of the most flexible ways to build React data visualization. It is also low-level, so the first chart can take a while. visx.app shortens that gap. You can see how your data looks across twelve common chart types, then download a component that already handles scales, margins, axes and responsive sizing.
The site is built for people who make charts for real work: front-end developers shipping dashboards, designers checking which chart reads best, students learning how D3 and React fit together, and site owners who want clean, fast SVG charts instead of heavy embeds.
npm run devBuilt around how visx works: small, composable pieces you fully control.
Edit your data and watch twelve React charts and graphs redraw instantly, with tooltips on the large preview.
Download TypeScript components that use @visx/scale, @visx/shape and @visx/axis exactly as they are meant to be used.
Switch between four tested palettes and see how each chart type handles them, including multi-colour pies and heat strips.
Save any preview as a crisp SVG for design tools or a 2× PNG for slides and documents. No watermark.
Every component works with ParentSize, so charts fill their container on phones, tablets and wide screens.
The playground runs entirely in your browser. Your data is never uploaded or stored on our server.
No setup is needed to preview. You only need Node.js when you are ready to run the code.
Pick an example dataset or paste your own rows in the format "label, value", one per line.
Scan the twelve preview cards and click Preview on the one that tells your story best.
Choose a colour theme, toggle grid lines and value labels, or sort values from high to low.
Export the chart as SVG or PNG, or download the matching .tsx component or the full starter kit.
Copy the generated usage code, install the listed @visx packages and render the component inside ParentSize.
Read the complete visx guide for installation, customization, troubleshooting and best practices.
Every file is plain source code or a standard image format. Nothing to install from us.
Starter kit as a ZIP archive. Single components as .tsx files. Sample data as CSV or JSON.
TypeScript React (.tsx/.ts), JSON, CSV, Markdown and one index.html. Chart exports as SVG or PNG.
Preview and export on any device. Running the code needs a computer with Node.js 20.19+ or 22.12+.
Current Chrome, Edge, Firefox and Safari, on desktop and mobile. Internet Explorer is not supported.
No executables, installers or install scripts. Dependencies come from the official npm registry.
Our components are MIT licensed. visx itself is MIT licensed by Airbnb. Use both in commercial work.
The playground and exports run in any modern browser. Building with visx needs a desktop development environment.
| Platform | Chart playground | SVG / PNG export | Run the starter kit |
|---|---|---|---|
| Windows 10 / 11 | Yes | Yes | Yes |
| macOS | Yes | Yes | Yes |
| Android | Yes | Yes | View files only |
| iOS / iPadOS | Yes | Yes | View files only |
| Google Chrome | Yes | Yes | Yes |
| Microsoft Edge | Yes | Yes | Yes |
| Mozilla Firefox | Yes | Yes | Yes |
| Apple Safari | Yes | Yes | Yes |
Library requirements: visx 4.0.0 supports React 18 or 19. See the full visx compatibility notes.
Test chart types and colour themes against real numbers, then export SVGs you can refine in Figma or Illustrator.
See how scales, margins and shapes combine into a chart, with short, readable components to study and change.
Add fast, crisp SVG charts to your site without heavy third-party embeds or tracking scripts.
Turn a table of numbers into a clean chart image for an article in under a minute, with no design software needed.
Export high-resolution PNG charts for videos, thumbnails, slides and social posts in your brand colours.
Skip the boilerplate. Start from typed, reusable chart components and spend your time on the product.
Short, practical articles on installing, using and troubleshooting visx data visualization.
Install the right packages, build scales, draw marks and make the chart responsive. The core visx workflow in one sitting.
Read moreWhich packages to install, when to use the @visx/visx bundle, and how to check your React version before you start.
Read moreCustom dashboards, design-system charts and one-off visuals. When visx is the right tool, and when it is overkill.
Read moreSVG coordinates, scales and margins explained in plain English, then a complete line chart you can paste into your app.
Read moreReact 18 and 19, Next.js App Router, Vite SSR, TypeScript and browser support. What works with visx 4 and what changed.
Read moreBlank charts, zero-height containers, flipped axes, import errors and tooltip glitches. Causes and fixes in one checklist.
Read moreExport charts to SVG and PNG, load CSV and JSON data, and choose the right format for web, print and slides.
Read moreWhat the MIT license lets you do with visx, what you must keep, and habits that keep npm installs and downloads safe.
Read morevisx is a collection of low-level React packages, created at Airbnb, that pair D3’s maths (scales, shapes, layouts) with React rendering. Instead of one big chart component, you combine small pieces such as scales, bars, lines and axes to build exactly the chart you need.
Yes. visx is released under the MIT license, which allows personal and commercial use, modification and redistribution, as long as the copyright and license notice stays with the code. Our article on the visx license explains the details in plain English.
visx 4 (released June 2026) supports React 18 and React 19. If your project is still on React 16 or 17, use visx 3 until you can upgrade React.
Most React chart libraries give you finished chart components with configuration props. visx gives you primitives, so you write more code but control every pixel, interaction and style. If you want something in between, the @visx/xychart package offers a higher-level API built on the same primitives.
Yes. visx ships with TypeScript types and renders standard SVG, so it works with Next.js, Vite and Remix. With the Next.js App Router, put chart components that use hooks (tooltips, ParentSize) in a file marked "use client".
visx renders SVG, which creates one DOM element per mark. A few thousand points are usually fine. For tens of thousands of points, aggregate the data first or use a Canvas-based renderer.
Type or paste label, value rows into the data box. All twelve preview cards redraw as you type, and the large preview shows the selected chart with hover tooltips plus ready-to-copy visx usage code. Nothing you type is sent to our server.
A ZIP containing a Vite + React 19 + TypeScript project with twelve visx chart components, sample CSV and JSON data, a README and an MIT license. Run npm install and npm run dev to see every chart in your browser.
The downloads contain only readable source files (.tsx, .ts, .json, .csv, .md and one .html). There are no executables or install scripts, and dependencies install from the official npm registry. You can open every file in a text editor first.
Yes. Each card has an SVG button, and the large preview offers both SVG and PNG. SVG is best for design tools and print; PNG works well in slides, documents and social posts.
No. visx.app is an independent resource and is not affiliated with Airbnb. The official source code and documentation live on GitHub and airbnb.io, which we link to throughout the site.
No. The playground, downloads and articles are free and need no sign-up. We do not run user accounts on this site.
Preview your data in twelve chart types, then download a tested React starter kit and ship your first visx chart this afternoon.