Skip to content

shadcn.io is an independent project built on shadcn/ui

Slope Chart

Satisfaction by country from 2025 to 2026, each line colored by whether the score rose or fell. This is the Vue version, drawn with TanStack Charts.

Charting library: TanStack Charts

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Use email insteadNo credit card

Usage

<script setup lang="ts">
import ChartSlopeDefault from "@/components/charts/chart-slope-default.vue";
</script>
<template>
  <ChartSlopeDefault />
</template>