New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

unipept-visualizations

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unipept-visualizations

The Unipept visualisation library

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-24%
Maintainers
3
Weekly downloads
 
Created
Source

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.

treeview example

treemap example

sunburst example

heatmap example

Requirements

D3.js (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 directory.

Installation and use

  1. Download and include unipept-visualizations.min.js on your page
  2. Include D3
  3. Add a div with an id (for example <div id="example"></div>) to your page
  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 for the full documentation of this package.

Keywords

FAQs

Package last updated on 09 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc