This commit is contained in:
Dennis Eichhorn 2023-08-28 22:06:36 +00:00
parent 97249334af
commit a252a271a4
2 changed files with 36 additions and 4 deletions

View File

@ -1 +1,35 @@
# Sales #
# Sales
## Analysis
Filters:
* Localization: Global/region/country
* Item: All/Segment/Group/Type/Item
* Customer: All/Segment/Group/Type/Customer
* Steps: Annually/Quarterly/Monthly/Daily
* Timeframe: YTD/Total/Isolated
* Time:
Results:
Always with table below chart
* Top 25 items
* Lorenze curve of items + gini coefficient
* Top 25 customers
* Lorenze curve of customers + gini coefficient
* Item: Segment/Group/Type bar chart
* Customer: Segment/Group/Type bar chart
* Bar chart + bubble chart for countries
* Region doughnut chart
* Region map graphic with circles indicating sales volume
Analysis:
1. Product cluster based on purchased together
2. Customers potentially interested in product X
3. Lowest selling items
4.

View File

@ -71,14 +71,12 @@ final class Autoloader
*
* @return void
*
* @throws AutoloadException Throws this exception if the class to autoload doesn't exist. This could also be related to a wrong namespace/file path correlation.
*
* @since 1.0.0
*/
public static function defaultAutoloader(string $class) : void
{
$class = \ltrim($class, '\\');
$class = \str_replace(['_', '\\'], '/', $class);
$class = \strtr($class, '_\\', '//');
foreach (self::$paths as $path) {
$file = $path . $class . '.php';