Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3,074 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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


πŸ“– 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:

πŸš€ 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

Run unit tests with watch:

yarn test:watch

Run single test

yarn test:watch --include="**/preparation-2d-datas.service.spec.ts"

End-to-End Tests

Run e2e tests with Cypress:

yarn e2e

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

Security policy

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages