Sclera Visualization Examples

Grammar of Graphics for ScleraSQL
Streaming data access, preparation, analytics and visualization
In about 10 lines of code
Create your own visualizations

Scatter Plot

Simple scatter plot

Lines of code: 8

Area Chart

Simple area chart

Lines of code: 5

Area Chart (Stacked)

Stacked area chart

Lines of code: 9

Bivariate Area Chart (Ribbon)

Area enclosed between two data-specified lines

Lines of code: 5

Line Chart with Moving Average

Simple line chart for ticker close, and a 20-day moving average

Lines of code: 11

Line Chart with Event Detection

A ticker chart with regions satisfying dynamic conditions detected on the fly

Lines of code: 12

Line Chart with Bollinger Bands

Line chart for ticker close, and 20-day Bollinger Bands

Lines of code: 23

Multi-Series Line Chart (Grouped)

Three columns plotted in a single layer as lines in a line-chart

Lines of code: 13

Bar Chart

Simple bar chart

Lines of code: 5

Bar Chart (Grouped)

Grouped bar chart

Lines of code: 26

Bar Chart (Stacked)

Stacked bar chart

Lines of code: 26

Bar Chart (Stacked, Sorted)

Stacked bar chart, with bar order in decreasing order of the total height

Lines of code: 28

Bar Chart (Stacked, Normalized, Sorted)

Stacked, normalized bar chart, with bar order in decreasing order of the under-5 years population

Lines of code: 39

Multi-Plot (Ticker + Volume)

A ticker (OHLC) plot and and a minor plot showing associated volumes

Lines of code: 5

Multi-Plot (Aligned Layout)

Multiple plots on the same data, placed so that the axes are aligned

Lines of code: 10

Cross Multi-Plot (Aligned Layout)

Eight scatterplots with two columns plotted against four columns, placed using an aligned layout

Lines of code: 3

Multi-Plot (Aligned, Weighted Layout)

Four scatterplots with an aligned layout and weighted axes

Lines of code: 8

Faceted Scatter Plot

Scatter plot, faceted on distinct values of the specified columns

Lines of code: 7

Faceted Time Series (Annotated)

Time series, faceted and annotated based on monitoring conditions

Lines of code: 17

Faceted Time Series (Returns)

Time series (stock returns), faceted and colored based on positive or negative returns

Lines of code: 7

Faceted Multi-Plot

Paired plots of monthly excess returns, collectively faceted on year

Lines of code: 10

Density (Histogram)

Density of data points, plotted as a histogram

Lines of code: 6

Faceted Density (Histogram)

Density of faceted data points, plotted as a histogram for each facet

Lines of code: 7

Density (2D Histogram / Heat Map)

Density of data points, plotted as a 2D histogram / heat map

Lines of code: 6

Faceted Density (2D Histogram / Heat Map)

Density of faceted data points, plotted as a 2D histogram / heat map for each facet

Lines of code: 7

Smoothing (LOESS)

Smoothing of data points, plotted as a line

Lines of code: 9

Faceted Smoothing (LOESS)

Smoothing of faceted data points, plotted as a line for each facet

Lines of code: 10

Built with D3 and D3-Legend

Powered by Sclera