GithubHelp home page GithubHelp logo

eddings / biset Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eibens/biset

0.0 1.0 0.0 6.04 MB

BiSet visualization demo for nominal, relational data.

HTML 12.52% JavaScript 83.29% CSS 4.19%

biset's Introduction

BiSet Visualization Demo

Screenshot

This is an implementation of BiSet using D3.js. BiSet visualization was proposed by Sun et al. and aids in the discovery of coordinated relationships in nominal, relational data.1

1: Sun, Maoyuan, et al. "Biset: Semantic edge bundling with biclusters for sensemaking." IEEE transactions on visualization and computer graphics 22.1 (2016): 310-319.

Run the Demo

  1. Install node.js on your system.
  2. Clone this repository.
  3. Run npm install in the repository root.
  4. Run npm start in the repository root.

NOTE: Your browser must be ES2016 compatible.

Generate the Docs

npm run-script docs

Generated docs will be located in out/index.html.

Features

  • Visualize custom CSV files with two or more columns.
  • Entities have an indicator encoding their frequency in the data.
  • Mouse-over an entity or bundle highlights adjacent edges.
  • Bundle width encodes the size of the bundle, matching entity frequency indicators.
  • Bundles have an indicator encoding the size of the source set.
  • Entities and bundles can be selected.
  • Entity and bundle colors encode the number of selected neighbors.
  • Edge colors encode the average relevancy of their source and target.
  • Entities can be sorted by frequency, label, or priority (bundle size).
  • Modes for displaying edges only, bundles only, or a combination of both.
  • Options for filtering bundles based on their size.

Interaction

A default data-set is shown when the visualization is loaded. Using the browse button in the top-left corner a different CSV file can be selected for analysis. (Warning: large tables can crash the application.) To the right of the browse button are options for sorting the entities, showing or hiding bundles, and filtering bundles by their size and number of entities on either side of the bundle (a.k.a. bundle support). The Clear Selection button in the top right deselects all selected entities and bundles.

The data can be explored by clicking on entities and bundles, which highlights connected elements. A darker orange color indicates a strong relationship of an element with the current selection and provides a hint for further exploration.

Important files

  • index.html Entry point of the application. This file also defines the user-input widgets at the top of the application window.

  • biset.css Styles for the SVG part of the visualization.

  • src/main.js Handles the user-input widgets at the top of the application window and the instantiation of the Biset object.

  • src/biset.js Defines the Biset class which renders the SVG part of the visualization and provides setters for the various parameters.

  • src/bundle.js Defines internal functions used for discovering bundles in the data.

  • src/transform.js Defines internal functions used for transforming the initial CSV data into a representation that can be rendered.

  • src/data.csv Initial data-set that is shown when the application is loaded.

biset's People

Contributors

eibens avatar mkapferer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.