Skip to content

@statistikzh/charts

Reusable bar and line charts built with Lit, D3, and TypeScript.
  • Bar charts, horizontal or vertical, with grouped, stacked, and normalized variants
  • Line charts for time series, with optional grouping
  • Interactive legends and optional tooltips

Introduction

Install the package, understand the data model, and prepare publishing. Start with Getting started.

Charts

Learn when to use each chart type and how to configure it. See the Bar chart and Line chart pages.

Reference

Browse options, defaults, and type-level details, starting with Chart options.