Skip to content

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

Click-to-Zoom Map

Clicking a country or a city flies the camera in and tilts it, and Escape flies back. 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 ChartChoroplethClickToZoom from "@/components/charts/chart-choropleth-click-to-zoom.vue";
</script>
<template>
  <ChartChoroplethClickToZoom />
</template>