Svelte Pivottable screenshot

Svelte Pivottable

Author Avatar Theme by Jjagielka
Updated: 19 Jun 2025
40 Stars

A Svelte-based pivot table with grouping

Categories

Overview

Svelte-PivotTable is an innovative Svelte component designed for data exploration and analysis. By leveraging a 2-dimensional drag-and-drop interface akin to classic Microsoft Excel functionalities, this library allows users to easily summarize datasets into tables or interactive Plotly.js charts. With its foundation built on the popular react-pivottable, Svelte-PivotTable enhances the original capabilities by incorporating grouping features and subtotals for more detailed insights.

This library is particularly appealing for developers looking to integrate powerful data visualization tools into their Svelte projects. It’s designed with simplicity in mind and offers both table and chart outputs, making it a versatile addition for anyone working with complex data analytics.

Features

  • Drag-and-Drop Interface: Allows users to easily manipulate and arrange data points for analysis, providing an intuitive experience similar to older Excel versions.

  • Customizable Outputs: Generates outputs in both table format and interactive Plotly charts, catering to diverse presentation needs.

  • Grouping and Subtotals: Offers advanced data summarization options through grouping capabilities, making it easier to derive insights from grouped data.

  • Non-Interactive Snapshots: Supports the rendering of non-interactive snapshots of configurations, useful for reporting and documentation.

  • Dependency Injection: Facilitates integration with external libraries like Plotly.js without the need to bundle them, enhancing project’s flexibility.

  • Lightweight Architecture: Built on a layered architecture, allowing for clear separation of concerns and easy management of properties across components.

  • Easy Installation: Can be installed via NPM or Yarn, making it straightforward to incorporate into existing projects.