Tabular Visualization

Nirmal Malapaka
Wolfram Research

(RowDefault[, (Spacer1), , (Spacer1), ])  
#WolframTechConf

Tabular Talks

Visualization Talks

Overview

Tabular Workflow

Support and Coverage

Tabular Visualization Syntax

Position Encoding

Plotting Columns

Pairwise Plots

Charting Functions

Position Types

Scientific Visualizations

Future Directions

Workflow

Support and Coverage

coverage=ToTabular[{"Visualization Function"->{"BarChart","BarChart3D","BoxWhiskerChart","BubbleChart","BubbleChart3D","CandlestickChart","ComplexListPlot","DateHistogram","DateListLogPlot","DateListPlot","DateListStepPlot","DensityHistogram","DistributionChart","FeatureSpacePlot","FeatureSpacePlot3D","Histogram","Histogram3D","KagiChart","LineBreakChart","ListContourPlot","ListContourPlot3D","ListCurvePathPlot","ListDensityPlot","ListDensityPlot3D","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListStepPlot","ListSurfacePlot3D","NumberLinePlot","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairwiseDensityHistogram","PairwiseListPlot","PairwiseProbabilityPlot","PairwiseQuantilePlot","PairwiseSmoothDensityHistogram","ParallelAxisPlot","PieChart","PieChart3D","PointFigureChart","ProbabilityPlot","ProbabilityScalePlot","QuantilePlot","RadialAxisPlot","RectangleChart","RectangleChart3D","RenkoChart","SectorChart","SectorChart3D","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","StackedDateListPlot","StackedListPlot","TernaryListPlot","TimelinePlot","TradingChart"}},"Columns"]

Length[coverage]

Tabular Data (Cars)

cars=;

Syntax

ColumnKeys

ColumnKeys[cars]

1D

cars -> "cty"

Syntax

ColumnKeys[cars]

2D/Multi

cars -> {"cty", "hwy"}

Syntax

ColumnKeys[cars]

Multi

cars -> {{"cty", "hwy"}, {Automatic, "displ"}}

Position Encoding

Plotting Columns

NumberLinePlot[cars->"cty"]

Histogram[cars->"cty",]

Plotting Columns

BoxWhiskerChart[cars->"cty",]

BoxWhiskerChart[cars->{"cty","hwy"},]

Tabular Data (Penguins)

penguins =;

Plotting Columns

ListPlot[penguins->{{"body_mass_g","bill_depth_mm"},{"body_mass_g","bill_length_mm"}},]

Plotting Columns

ListPlot[penguins->{{"body_mass_g","bill_depth_mm"},{"body_mass_g","bill_length_mm"}},PlotLayout->"Row",]

Tabular Data (Modified Penguins)

ppenguins=;

Plotting Columns

ListPlot[ppenguins->{{Automatic,"Adelie"},{Automatic,"Gentoo"},{Automatic,"Chinstrap"}},]

Plotting Columns

SmoothHistogram[cars->{"cty","hwy"},]

SmoothDensityHistogram[cars->{"cty","hwy"},]

Plotting More Columns

ParallelAxisPlot[penguins->{"body_mass_g","bill_depth_mm","bill_length_mm","flipper_length_mm"},]

Plotting More Columns

ParallelAxisPlot[penguins->{{"body_mass_g","bill_depth_mm"},{"body_mass_g","bill_length_mm"}}, ]

Plotting More Columns

ParallelAxisPlot[cars->{"cty","cyl","hwy"},]

Pairwise Plots [WTC23]

irisdata=Tabular[ResourceData[ResourceObject["Sample Data: Fisher's Irises"]]];

PairwiseListPlot[irisdata->{"SepalLength","PetalWidth"},PlotTheme->"Business"]

Data (Aggregation)

industrial=;

Data (Aggregation)

aggind=AggregateRows[industrial,{"Profit"->(Total[#Profit]&),"Revenue"->(Total[#Revenue]&),"Cost"->(Total[#Cost]&)},"Product"]

Charting Functions

PieChart[aggind->{"Profit","Cost"},ChartLegends->{"Gizmo","Gadget","Widget","Doodas"},]

Charting Functions

BarChart[aggind->{"Profit","Cost"},ChartLabels->{{"Gizmo","Gadget","Widget","Doodas"},Automatic},ChartLegends->{"Profit","Cost"},]

Categorical Data

BubbleChart[industrial->{"Product","Sector","Revenue"},ScalingFunctions->{NominalScale[Automatic],NominalScale[Automatic],None},]

Categorical Data

ListPlot[cars->{"hwy","manufacturer"},ScalingFunctions->{None,NominalScale[Automatic]},]

Dates

plife=;

ListPlot[plife->{{"Year","Canada"},{"Year","France"},{"Year","Germany"},{"Year","Great Britain"},{"Year","Japan"},{"Year","USA"}},ScalingFunctions->{"Date",None},]

Other Scientific Visualizations

js=TransformColumns[Tabular[JuliaSetPoints[-0.77+0.22I],"ColumnKeys"->{"x","y"}],"z"->Function[#x+#y I]]

ComplexListPlot[js->"z",PlotTheme->"Scientific",ImageSize->Full]

Future Directions

Vector visualizations

Geo visualizations

Categorical plots

More encodings

Office Hours

Tabular Visualization

Nirmal Malapaka
Wolfram Research

(RowDefault[, (Spacer1), , (Spacer1), ])  
#WolframTechConf