npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

expo-skia-charts

v0.5.0

Published

Collection of modern performant charts (Line, Bar, Donut) for iOS/Android/Web using Skia

Readme

Features

  • High Performance: Built on top of react-native-skia for native rendering performance
  • Smooth Animations: Powered by react-native-reanimated for 60fps animations
  • Interactive: Touch and hover interactions with customizable tooltips
  • Cross-Platform: Works on iOS, Android, and Web
  • TypeScript: Full TypeScript support with comprehensive type definitions
  • Customizable: Extensive configuration options for styling and behavior

Available Charts

  • LineChart: Single and multi-line charts with smooth curves, area fills (gradient/solid), axes, grid lines, and interactive tooltips
  • BarChart: Vertical and horizontal bar charts with grouped/stacked modes, hover effects, rounded corners, and custom tooltips
  • DonutChart: Donut and pie charts with hover effects, legends, custom center values, and segment gaps

Requirements

This library is built on top of the following peer dependencies:

  • @shopify/react-native-skia
  • react-native-reanimated
  • react-native-worklets
  • react-native-gesture-handler

Important: react-native-skia requires react-native@>=0.79 and react@>=19. See the compatibility documentation for details.

Installing Dependencies

If you don't have the required dependencies installed yet:

npx expo install @shopify/react-native-skia react-native-reanimated react-native-worklets react-native-gesture-handler

Web Setup: If you haven't used react-native-skia before, follow the manual web configuration guide.

Installation

npm install expo-skia-charts
# or
yarn add expo-skia-charts

Usage

LineChart

import { LineChart } from "expo-skia-charts";

function MyChart() {
  const data = [
    { x: 1, y: 20 },
    { x: 2, y: 35 },
    { x: 3, y: 25 },
    { x: 4, y: 45 },
    { x: 5, y: 30 },
  ];

  return (
    <View style={{ height: 300 }}>
      <LineChart
        config={{
          series: [
            {
              id: "series1",
              label: "Revenue",
              data: data,
            },
          ],
          xAxis: { enabled: true },
          yAxis: { enabled: true, showGridLines: true },
          hover: { enabled: true, showDot: true },
        }}
      />
    </View>
  );
}

BarChart

import { BarChart } from "expo-skia-charts";

function MyChart() {
  const data = [
    { label: "Jan", value: 65 },
    { label: "Feb", value: 59 },
    { label: "Mar", value: 80 },
    { label: "Apr", value: 81 },
    { label: "May", value: 56 },
    { label: "Jun", value: 55 },
  ];

  return (
    <View style={{ height: 300 }}>
      <BarChart
        config={{
          data: data,
          orientation: "vertical",
          style: { cornerRadius: 8 },
          yAxis: { enabled: true, showGridLines: true },
          xAxis: { enabled: true },
          hover: {
            enabled: true,
            tooltip: {
              renderContent: (dataPoint) => (
                <View
                  style={{
                    backgroundColor: "white",
                    padding: 8,
                    borderRadius: 6,
                    borderWidth: 1,
                    borderColor: "#e0e0e0",
                  }}
                >
                  <Text>{dataPoint.label}</Text>
                  <Text style={{ fontWeight: "bold" }}>{dataPoint.value}</Text>
                </View>
              ),
            },
          },
        }}
      />
    </View>
  );
}

DonutChart

import { DonutChart } from "expo-skia-charts";

function MyChart() {
  const data = [
    { label: "Design", value: 50000 },
    { label: "Development", value: 25000 },
    { label: "Marketing", value: 10000 },
  ];

  return (
    <View style={{ height: 350 }}>
      <DonutChart
        config={{
          data: data,
          strokeWidth: 25,
          gap: 5,
          roundedCorners: true,
          centerValues: { enabled: true },
          legend: { enabled: true },
          hover: { enabled: true, animateOnHover: true },
        }}
      />
    </View>
  );
}

Contributing

  • I appreciate any contirbution, feel free to open a PR. I will gladly merge it.

License

MIT


Made with create-react-native-library