Skip to content

antononcube/WL-MosaicPlot-paclet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MosaicPlot WL paclet

Wolfram Language (aka Mathematica) paclet for mosaic plots over datasets or lists of records.

The paclet provides the function MosaicPlot that summarizes the conditional probabilities of co-occurrence of categorical values in a Dataset object or a list of records of the same length.

  • If a list of records is given to MosaicPlot then the list is assumed to be a full array and the columns to represent categorical values.

  • Note, that if a column is numerical, but has a small number of different values then it can be seen as categorical.

  • This paclet is based in the paclet "AntonAntonov/TriesWithFrequencies".

Here is example code:

dsTitanic = ResourceFunction["ExampleDataset"][{"MachineLearning", "Titanic"}];
dsTitanic[1 ;; -1 ;; 300]

MosaicPlot[dsTitanic[All, {4, 3, 1}]]


Reference

Articles

[AA1] Anton Antonov, "Mosaic plots for data visualization", (2014), MathematicaForPrediction at WordPres.

[AA2] Anton Antonov, "Enhancements of MosaicPlot", (2014), MathematicaForPrediction at WordPres.

Packages, paclets

[AAp1] Anton Antonov, TriesWithFrequencies WL paclet, (2023), Wolfram Language Paclet Repository.

[AAp2] Anton Antonov, TriesWithFrequencies Mathematica package, (2014-2018), MathematicaForPrediction at GitHub.

Releases

No releases published

Packages

No packages published