https://github.com/unipept/unipept-visualizations
📊 Unipept visualisations, packaged for easy reusability
https://github.com/unipept/unipept-visualizations
d3 sunburst taxonomy treemap treeview unipept visualizations
Last synced: about 1 month ago
JSON representation
📊 Unipept visualisations, packaged for easy reusability
- Host: GitHub
- URL: https://github.com/unipept/unipept-visualizations
- Owner: unipept
- License: mit
- Created: 2016-01-04T09:18:31.000Z (almost 10 years ago)
- Default Branch: develop
- Last Pushed: 2025-08-06T14:23:02.000Z (2 months ago)
- Last Synced: 2025-08-13T21:53:02.950Z (about 2 months ago)
- Topics: d3, sunburst, taxonomy, treemap, treeview, unipept, visualizations
- Language: TypeScript
- Homepage:
- Size: 50.7 MB
- Stars: 20
- Watchers: 3
- Forks: 6
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# Unipept visualizations
This repository contains stand-alone versions of the Unipept visualizations. At this time, a treeview, a treemap, a sunburst graph and a heatmap are available. The complete package has been written in TypeScript and uses D3 (v6) internally and is aimed at rendering vast amounts of data as fast as possible. Most visualizations are SVG-based, but an HTML Canvas has been used where necessary to make sure performance is as high as possible.



## Requirements
[D3.js](https://d3js.org/) (version 6.x should do) and is required to use these visualizations. The code is written using JavaScript ES2020 features, but a transpiled ES6-compatible version (`unipept-visualizations.js`) that should work in all modern browsers is available in the [`dist`](dist) directory.## Installation and use
`) to your page
1. Download and include [`unipept-visualizations.min.js`](dist/unipept-visualizations.js) on your page
2. Include D3
3. Add a div with an id (for example `
4. Initialize the treeview by invoking `treeview()` or `treemap()` with the div-element. For example `const treeview = new UnipeptVisualizations.Treeview(document.getElementById("example"), data, options);`## Documentation
Head over to our [GitHub Wiki](https://github.com/unipept/unipept-visualizations/wiki) for the full documentation of this package.