Grafana Treemap Panel banner
grafana grafana

Grafana Treemap Panel

Development community

Description

A panel plugin for Grafana to visualize treemaps.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Treemap for Grafana

[![CI](https://github.com/grafana/grafana-treemap-panel/actions/workflows/push.yml/badge.svg)](https://github.com/grafana/grafana-treemap-panel/actions/workflows/push.yml) [![CD](https://github.com/grafana/grafana-treemap-panel/actions/workflows/publish.yml/badge.svg)](https://github.com/grafana/grafana-treemap-panel/actions/workflows/publish.yml) [![License](https://img.shields.io/github/license/grafana/grafana-treemap-panel)](LICENSE)

More details about this plugin are available in the [README.md](./src/README.md) file, that gets published [here](https://grafana.com/grafana/plugins/marcusolsson-treemap-panel/?tab=overview).

Development

Frontend

[!IMPORTANT] Prerequisites

  1. Install dependencies

    yarn install
  2. Build plugin in development mode and run in watch mode

    yarn dev
  3. Build plugin in production mode

    yarn build
  4. Run the tests (using Jest)

    # Runs the tests and watches for changes, requires git init first
    yarn test
    
    # Exits after running all the tests, generates a coverage report
    yarn test:ci
  5. Spin up a Grafana instance and run the plugin inside it (using Docker)