Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
MosaicPlot
Tech Notes
Mosaic plots for data visualization
Symbols
MakeTooltipTable
MosaicPlot
AntonAntonov`MosaicPlot`
M
o
s
a
i
c
P
l
o
t
M
o
s
a
i
c
P
l
o
t
[
r
a
r
r
]
m
a
k
e
s
a
m
o
s
a
i
c
p
l
o
t
t
h
a
t
s
u
m
m
a
r
i
z
e
s
t
h
e
c
o
n
d
i
t
i
o
n
a
l
p
r
o
b
a
b
i
l
i
t
i
e
s
o
f
c
a
t
e
g
o
r
i
c
a
l
v
a
l
u
e
s
c
o
-
o
c
c
u
r
r
e
n
c
e
i
n
a
l
i
s
t
o
f
r
e
c
o
r
d
s
o
f
t
h
e
s
a
m
e
l
e
n
g
t
h
(
a
f
u
l
l
a
r
r
a
y
o
r
d
a
t
a
s
e
t
)
.
M
o
s
a
i
c
P
l
o
t
h
a
s
o
p
t
i
o
n
s
f
o
r
a
d
j
u
s
t
i
n
g
t
h
e
g
a
p
b
e
t
w
e
e
n
t
h
e
r
e
c
t
a
n
g
l
e
s
,
t
h
e
s
t
y
l
e
o
f
t
h
e
l
a
b
e
l
s
,
t
h
e
r
o
t
a
t
i
o
n
o
f
t
h
e
l
a
b
e
l
s
,
a
n
d
f
r
o
m
w
h
i
c
h
s
i
d
e
t
o
s
t
a
r
t
t
h
e
r
e
c
t
a
n
g
l
e
s
p
l
i
t
t
i
n
g
.
M
o
s
a
i
c
P
l
o
t
a
l
s
o
t
a
k
e
s
a
l
l
t
h
e
o
p
t
i
o
n
s
o
f
G
r
a
p
h
i
c
s
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
2
)
Basic Examples
(
1
)
Here is a random dataset with categorical values:
I
n
[
1
]
:
=
S
e
e
d
R
a
n
d
o
m
[
4
9
]
;
d
s
D
a
t
a
=
R
e
s
o
u
r
c
e
F
u
n
c
t
i
o
n
[
"
R
a
n
d
o
m
T
a
b
u
l
a
r
D
a
t
a
s
e
t
"
]
[
{
3
0
,
3
}
,
"
G
e
n
e
r
a
t
o
r
s
"
{
C
h
a
r
a
c
t
e
r
R
a
n
g
e
[
"
a
"
,
"
c
"
]
,
T
o
S
t
r
i
n
g
/
@
R
a
n
d
o
m
I
n
t
e
g
e
r
[
{
0
,
3
0
}
,
3
]
,
R
e
s
o
u
r
c
e
F
u
n
c
t
i
o
n
[
"
R
a
n
d
o
m
P
e
t
N
a
m
e
"
]
[
3
]
}
]
;
d
s
D
a
t
a
[
1
;
;
3
]
O
u
t
[
1
]
=
p
o
s
t
p
a
r
t
u
m
t
r
a
n
s
a
c
t
i
o
n
s
f
i
c
t
i
v
e
b
4
A
d
o
r
a
b
l
e
b
1
3
M
a
s
i
e
a
4
S
e
r
e
n
i
t
y
Here is the corresponding mosaic plot:
I
n
[
2
]
:
=
M
o
s
a
i
c
P
l
o
t
[
d
s
D
a
t
a
,
I
m
a
g
e
S
i
z
e
M
e
d
i
u
m
]
O
u
t
[
2
]
=
Here we rotated the labels and put column names away from the plot:
I
n
[
3
]
:
=
M
o
s
a
i
c
P
l
o
t
[
d
s
D
a
t
a
,
"
C
o
l
u
m
n
N
a
m
e
s
O
f
f
s
e
t
"
0
.
1
2
,
"
L
a
b
e
l
R
o
t
a
t
i
o
n
"
{
{
3
,
1
}
,
{
1
,
1
}
}
,
I
m
a
g
e
S
i
z
e
M
e
d
i
u
m
]
O
u
t
[
3
]
=
A
p
p
l
i
c
a
t
i
o
n
s
(
1
)
S
e
e
A
l
s
o
"
X
X
X
X
"
"
"