Intuitive visualization of Khiops analysis results
π Khiops Visualization Live Demo
π Khiops Covisualization Live Demo
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.
# 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 {}- Node.js - Download Node.js
- npm or Yarn - We recommend Yarn
yarn installimport { Component } from '@angular/core';
@Component({
selector: 'app-example',
template: ` <khiops-visualization [data]="visualizationData"></khiops-visualization> `,
})
export class ExampleComponent {
visualizationData = {
// Your Khiops analysis data
};
}Test files and examples can be found in the ./src/assets/mocks folder.
- Framework: Angular
- UI Library: Angular Material
- Testing: Karma + Cypress
- Build System: Angular CLI
Start the development server:
yarn startNavigate to http://localhost:4200/. The application will automatically reload when you make changes to the source files.
src/
βββ app/
β βββ khiops-visualization/ # Main visualization module
β βββ khiops-covisualization/ # Covisualization module
β βββ khiops-library/ # Shared library components
βββ assets/
β βββ mocks/ # Sample data files
βββ environments/ # Environment configurations
The current development versions are accessible here:
Run unit tests with Karma:
yarn testRun e2e tests with Cypress:
yarn e2eGenerate and view test results:
yarn testpowershell -ExecutionPolicy Bypass -File ".\scripts\build.ps1"or
yarn build:webcomponentsThis 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.