Crate scatters

Crate scatters 

Source
Expand description

The main library for the scatters application.

This crate provides the core logic for finding, loading, processing, and plotting data. It orchestrates the flow from command-line arguments to the final HTML output file. The primary entry point is the run function, which takes the parsed CLI arguments and executes the plotting process.

The library is structured into several modules:

  • cli: Defines the command-line interface.
  • data_loader: Handles reading various file formats into DataFrames.
  • processing: Logic for selecting X and Y axes and preparing data for plotting.
  • plotter: Generates the final HTML/JavaScript plot from the prepared data.
  • error: Defines the application’s custom error type.

Modules§

cli
Defines the command-line interface for the application using clap.
data_loader
This module handles loading data from various file formats into Polars DataFrames.
error
Defines the custom error type for the application.
plotter
This module is responsible for generating the final HTML plot.
processing
This module handles the logic for selecting and preparing data for plotting.

Functions§

run
The main entry point for the application logic.