Skip to content

Khiops Visualization component. Contains the code of Visualization and Covisualization tools

License

KhiopsML/khiops-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Khiops Visualization NPM Component

Unit tests Publish to NPM End-to-end tests gitleaks Build WebComponents Bundle pages-build-deployment CodeQL npm version

Intuitive visualization of Khiops analysis results

demo-khiops

🌐 Khiops Visualization Live Demo

🌐 Khiops Covisualization Live Demo


πŸ“– Table of Contents

πŸ” About

This repository contains the source code for Khiops Visualization and Khiops Covisualization tools, unified into a single, powerful npm package. Built with Angular and modern web technologies, it provides comprehensive data visualization capabilities for machine learning analysis.


Integration Notice:

  • The khiops-visualization part of this npm library is integrated in the kv-electron project.
  • The khiops-covisualization part is integrated in the kc-electron project.

πŸš€ Quick Start

# Install the package
npm install khiops-visualization
# or
yarn add khiops-visualization
// Import in your Angular module
import { KhiopsVisualizationModule } from 'khiops-visualization';

@NgModule({
  imports: [KhiopsVisualizationModule],
  // ...
})
export class YourModule {}

πŸ“¦ Installation

Prerequisites

Install Dependencies

yarn install

πŸ“š Usage

Basic Implementation

import { Component } from '@angular/core';

@Component({
  selector: 'app-example',
  template: ` <khiops-visualization [data]="visualizationData"></khiops-visualization> `,
})
export class ExampleComponent {
  visualizationData = {
    // Your Khiops analysis data
  };
}

Sample Data

Test files and examples can be found in the ./src/assets/mocks folder.

πŸ›  Development

Technology Stack

Development Server

Start the development server:

yarn start

Navigate to http://localhost:4200/. The application will automatically reload when you make changes to the source files.

Project Structure

src/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ khiops-visualization/     # Main visualization module
β”‚   β”œβ”€β”€ khiops-covisualization/   # Covisualization module
β”‚   └── khiops-library/           # Shared library components
β”œβ”€β”€ assets/
β”‚   └── mocks/                    # Sample data files
└── environments/                 # Environment configurations

Development Demos Versions

The current development versions are accessible here:

πŸ§ͺ Testing

Unit Tests

Run unit tests with Karma:

yarn test

End-to-End Tests

Run e2e tests with Cypress:

yarn e2e

Test Coverage

Generate and view test results:

yarn test

Bundle Compilation

powershell -ExecutionPolicy Bypass -File ".\scripts\build.ps1"

or

yarn build:webcomponents

πŸ“„ License

This software is distributed under the BSD 3-Clause-clear License, the text of which is available at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the LICENSE for more details.

About

Khiops Visualization component. Contains the code of Visualization and Covisualization tools

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 5